[llvm] Add diagnostic help for inline asm operand constraint 'H' (PR #88248)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 10 12:22:43 PDT 2024
================
@@ -13,8 +14,20 @@ entry:
}
; CHECK-label:test_twinword_error
+; CHECK: error: invalid operand in inline asm: 'rd %asr5, ${0:L}
+; CHECK: srlx ${0:L}, 32, ${0:H}'
; CHECK: error: Hi part of pair should point to an even-numbered register
-; CHECK: error: (note that in some cases it might be necessary to manually bind the input/output registers instead of relying on automatic allocation)
+; CHECK: (note that in some cases it might be necessary to manually bind the input/output registers instead of relying on automatic allocation)
+
+; CHECK: error: invalid operand in inline asm: 'rd %asr5, ${0:L}
----------------
mahesh-attarde wrote:
@koachan I updated Sparc Test I mentioned https://github.com/llvm/llvm-project/commit/697dd93ae30f489e5bcdac74c2ef2d876e3ca064#r140773364
Can you check once ?
https://github.com/llvm/llvm-project/pull/88248
More information about the llvm-commits
mailing list