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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 02:54:05 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
----------------
nikic wrote:

We normally check the expected generated check lines using diff instead.

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


More information about the llvm-commits mailing list