@@ -5,6 +5,7 @@
// CHECK-LABEL: @test_r0
// CHECK: call void asm sideeffect "", "{$r0}"(i32 undef)
+// CHECK: call void asm sideeffect "", "{$r0}"(i32 undef)
ziyao233 wrote:
Thanks for the hint, I've adapted the scheme :)
https://github.com/llvm/llvm-project
https://github.com/ziyao233 updated
https://github.com/llvm/llvm-project/pull/138391
>From 1f14ee7b8e368ddf6e248eae8c54596c4b7bf051 Mon Sep 17 00:00:00 2001
From: Yao Zi
Date: Sat, 3 May 2025 09:49:25 +
Subject: [PATCH] [Clang][LoongArch] Match GCC behaviour when parsing FPRs in
asm clobbe
ziyao233 wrote:
> Thank you for the patch!
>
> Test assertions can be updated as well -- check for two occurrences of the
> respective `asm` statement.
Done. Checks for the GPR-related tests are updated as well.
https://github.com/llvm/llvm-project/pull/138391
https://github.com/ziyao233 updated
https://github.com/llvm/llvm-project/pull/138391
>From 4a3bf6d7aca36baa93ed30f6f2f458c817380168 Mon Sep 17 00:00:00 2001
From: Yao Zi
Date: Sat, 3 May 2025 09:49:25 +
Subject: [PATCH] [Clang][LoongArch] Match GCC behaviour when parsing FPRs in
asm clobbe
ziyao233 wrote:
Cc @echristo, @xen0n thanks for your time and review.
https://github.com/llvm/llvm-project/pull/138391
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ziyao233 created
https://github.com/llvm/llvm-project/pull/138391
There're four possible formats to refer a register in inline assembly,
1. Numeric name without dollar sign ("f0")
2. Numeric name with dollar sign ("$f0")
3. ABI name without dollar sign ("fa0")
4. ABI name wit