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

Nuri Amari via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 28 13:56:54 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
----------------
NuriAmari wrote:

Removed `find` and `sort` usage, check the actual numbers now.

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


More information about the llvm-commits mailing list