summaryrefslogtreecommitdiffstats
path: root/llvm/test/ThinLTO/X86/Inputs/index-const-prop-full-lto.ll
blob: df57a897b72cd58b35d3deb435b4443b1914ad80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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, i32* @g
  ret i32 %v
}

!0 = !{i32 1, !"ThinLTO", i32 0}
!llvm.module.flags = !{ !0 }
OpenPOWER on IntegriCloud