bolt/deps/llvm-18.1.8/llvm/test/ThinLTO/X86/Inputs/index-const-prop-full-lto.ll

13 lines
285 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-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, ptr @g
ret i32 %v
}
!0 = !{i32 1, !"ThinLTO", i32 0}
!llvm.module.flags = !{ !0 }