[llvm] Add option to dump IR to files instead of stderr (PR #66412)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 28 13:09:12 PDT 2023


================
@@ -0,0 +1,56 @@
+; RUN: rm -rf %t/logs
+
+; Basic dump before and after a single module pass
+
+; RUN: opt %s -disable-output -passes='no-op-module' -ir-dump-directory %t/logs -print-after=no-op-module -print-before=no-op-module
----------------
aeubanks wrote:

all of those passes are expected to run and should be consistent, although I'm removing the last two in https://github.com/llvm/llvm-project/pull/67730

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


More information about the llvm-commits mailing list