[clang] [llvm] wip: Move instrumentation passes (PR #92171)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 12:43:28 PDT 2024


================
@@ -0,0 +1,31 @@
+; RUN: opt -passes="default<O1>" -S < %s | FileCheck %s
+; RUN: opt -passes="thinlto-pre-link<O2>" -S < %s | FileCheck %s
+; RUN: opt -passes="thinlto-pre-link<O2>,thinlto<O3>" -S < %s | FileCheck %s
----------------
aeubanks wrote:

no need to run `thinlto<O3>` here, but we should test that `thinlto`/`lto` don't run this pass by adding different RUN lines with a different `FileCheck %s --checkprefix=NO`

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


More information about the llvm-commits mailing list