[llvm] UTC: support debug output from LDist (PR #93208)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 2 03:17:10 PDT 2024
================
@@ -0,0 +1,6 @@
+## Basic test checking that update_analyze_test_checks.py works correctly
+# RUN: cp -f %S/Inputs/loop-distribute.ll %t.ll && %update_analyze_test_checks %t.ll
+# RUN: diff -u %t.ll %S/Inputs/loop-distribute.ll.expected
+## Check that running the script again does not change the result:
+# RUN: %update_analyze_test_checks %t.ll
+# RUN: diff -u %t.ll %S/Inputs/loop-distribute.ll.expected
----------------
nikic wrote:
You probably need to require asserts, otherwise debug-only is not available.
https://github.com/llvm/llvm-project/pull/93208
More information about the llvm-commits
mailing list