[llvm] Add flags to dump IR to a file before and after LLVM passes (PR #65179)

Nuri Amari via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 12:25:08 PDT 2023


================
@@ -0,0 +1 @@
+config.suffixes = ['', '.ll']
----------------
NuriAmari wrote:

This is because in LIT `%s` expands to the source file path with periods escaped like so: `.../dump-before-after-filenames\\.`, which won't match the output of `find`. 

I also considered running `ls` on each file, but I think the output of filecheck on find is a little easier to read when it fails.

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


More information about the llvm-commits mailing list