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

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 10 11:16:03 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)
----------------
jrtc27 wrote:

Lost the error:

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


More information about the llvm-commits mailing list