llvm-project/llvm/test/LTO/X86/print-pipeline-passes.ll
macurtis-amd 26e455bac0
[lld][LTO] Teach LTO to print pipeline passes (#101018)
I found this useful while debugging code generation differences between
old and new offloading drivers.
No functional change (intended).
2024-07-29 15:56:43 -04:00

14 lines
353 B
LLVM

; RUN: llvm-as < %s >%t.bc
; RUN: llvm-lto -print-pipeline-passes -exported-symbol=_f -o /dev/null %t.bc 2>&1 | FileCheck %s
; CHECK: pipeline-passes: verify,{{.*}},verify
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.10.0"
define void @f() {
entry:
ret void
}