llvm-project/llvm/test/ThinLTO/X86/Inputs/index-const-prop-full-lto.ll

13 lines
253 B
LLVM

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@g = external global i32
define i32 @foo() {
%v = load i32, i32* @g
ret i32 %v
}
!0 = !{i32 1, !"ThinLTO", i32 0}
!llvm.module.flags = !{ !0 }