[llvm] MachineVerifier: Reject extra non-register operands on instructions (PR #73758)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 29 17:59:52 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
----------------
arsenm wrote:
This should now be covered by the verifier tests
https://github.com/llvm/llvm-project/pull/73758
More information about the llvm-commits
mailing list