[llvm] [update_mir_test_checks] Precommit test for multiple defs of vreg (PR #66482)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 04:10:34 PDT 2023


================
@@ -0,0 +1,6 @@
+## Check that update_mir_test_checks handles multiple definitions of the same
+## virtual register (after coming out of SSA form).
+
+# RUN: cp -f %S/Inputs/multiple-defs.mir %t.mir && %update_mir_test_checks %t.mir
+# RUN: FileCheck %t.mir < %t.mir
----------------
jayfoad wrote:

Done. I've added the "expected" output, but also run FileCheck to prove that the expected output really works.

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


More information about the llvm-commits mailing list