[llvm] Add diagnostic help for inline asm operand constraint 'H' (PR #88248)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 10 19:12:39 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}'
----------------
koachan wrote:

I guess it's because the testcase has a `\0A` in it?

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


More information about the llvm-commits mailing list