================ @@ -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 + +target triple = "x86_64-unknown-linux" + +define void @leaf_function() #0 { ---------------- aeubanks wrote:
mark this function as `alwaysinline` so testing `-O0` works https://github.com/llvm/llvm-project/pull/92171 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits