[llvm] [GISel][Inlineasm] Support inlineasm i constraint for symbols (PR #170094)

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 06:35:20 PST 2025


================
@@ -26,7 +26,7 @@ define void @asm_simple_register_clobber() {
 define i64 @asm_register_early_clobber() {
   ; CHECK-LABEL: name: asm_register_early_clobber
   ; CHECK: bb.1 (%ir-block.0):
-  ; CHECK-NEXT:   INLINEASM &"mov $0, 7; mov $1, 7", 1 /* sideeffect attdialect */, {{[0-9]+}} /* regdef-ec:GPR64common */, def early-clobber %0, {{[0-9]+}} /* regdef-ec:GPR64common */, def early-clobber %1, !0
+  ; CHECK-NEXT:   INLINEASM &"mov $0, 7; mov $1, 7", 1 /* sideeffect attdialect */, 3866635 /* regdef-ec:GPR64common */, def early-clobber %0, 3866635 /* regdef-ec:GPR64common */, def early-clobber %1, !0
----------------
davemgreen wrote:

Leave these as they were. They break when registers are updated otherwise.

https://github.com/llvm/llvm-project/pull/170094


More information about the llvm-commits mailing list