1 | ; 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 |
2 | ; 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 |
3 | ; RUN: %clang_cc1 -fexperimental-new-pass-manager -flto -triple x86_64-pc-linux-gnu -emit-llvm-bc -disable-llvm-passes -x ir < %s -o - | llvm-bcanalyzer -dump | FileCheck %s |
4 | ; RUN: %clang_cc1 -fexperimental-new-pass-manager -flto=thin -triple x86_64-pc-linux-gnu -emit-llvm-bc -disable-llvm-passes -x ir < %s -o - | llvm-bcanalyzer -dump | FileCheck %s |
5 | ; REQUIRES: x86-registered-target |
6 | |
7 | ; CHECK-NOT:GLOBALVAL_SUMMARY_BLOCK |
8 | |
9 | ; Make sure this doesn't crash, and we don't try to emit a module summary. |
10 | ; (The command is roughly emulating what -save-temps would do.) |
11 | @0 = global i32 0 |
12 | |