[llvm] MachineVerifier: Reject extra non-register operands on instructions (PR #73758)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 06:26:21 PST 2023


================
@@ -1,13 +0,0 @@
-# RUN: not llc -march=amdgcn -run-pass=none -o /dev/null %s 2>&1 | \
-# RUN:   FileCheck --strict-whitespace %s
-
----
-name: extra_reg_operand
-body: |
-  bb.0:
-    ; CHECK: [[@LINE+3]]:17: too many operands for instruction
-    ; CHECK-NEXT: {{^}}    S_ENDPGM 0, undef $vgpr0
-    ; CHECK-NEXT: {{^}}                ^
-    S_ENDPGM 0, undef $vgpr0
----------------
qcolombet wrote:

The message may have changed, but the test may still be valuable, isn't it?

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


More information about the llvm-commits mailing list