[llvm] [MachineVerifier] Allow KILL MI with dangling MMO in MachineVerifier. (PR #114407)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 31 07:40:28 PDT 2024
================
@@ -0,0 +1,30 @@
+; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z16 -disable-machine-dce \
+; RUN: -verify-machineinstrs -O3
+;
+; Test that this passes the verifier even though a KILL instruction with a
+; dangling memory operand emerges.
+
+define void @fun(ptr %Src, ptr %Dst) {
+ br label %2
+
+2:
----------------
arsenm wrote:
Use named values in tests
https://github.com/llvm/llvm-project/pull/114407
More information about the llvm-commits
mailing list