llvm-project/clang/test/CodeGen/summary-index-unnamed-global.ll
Arthur Eubanks 61d418f971 [test] Remove references to -fexperimental-new-pass-manager in tests
This has been the default for a while and we're in the process of removing the legacy PM optimization pipeline.
2022-04-11 13:29:08 -07:00

10 lines
518 B
LLVM

; RUN: %clang_cc1 -flto -triple x86_64-pc-linux-gnu -emit-llvm-bc -disable-llvm-passes -x ir < %s -o - | llvm-bcanalyzer -dump | FileCheck %s
; RUN: %clang_cc1 -flto=thin -triple x86_64-pc-linux-gnu -emit-llvm-bc -disable-llvm-passes -x ir < %s -o - | llvm-bcanalyzer -dump | FileCheck %s
; REQUIRES: x86-registered-target
; CHECK-NOT:GLOBALVAL_SUMMARY_BLOCK
; Make sure this doesn't crash, and we don't try to emit a module summary.
; (The command is roughly emulating what -save-temps would do.)
@0 = global i32 0