summaryrefslogtreecommitdiffstats
path: root/llvm/test/ThinLTO/X86/Inputs/index-const-prop-alias.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/ThinLTO/X86/Inputs/index-const-prop-alias.ll')
-rw-r--r--llvm/test/ThinLTO/X86/Inputs/index-const-prop-alias.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/ThinLTO/X86/Inputs/index-const-prop-alias.ll b/llvm/test/ThinLTO/X86/Inputs/index-const-prop-alias.ll
new file mode 100644
index 00000000000..d5aa6ee0b61
--- /dev/null
+++ b/llvm/test/ThinLTO/X86/Inputs/index-const-prop-alias.ll
@@ -0,0 +1,5 @@
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+@g = global i32 42, align 4
+@g.alias = weak alias i32, i32* @g
OpenPOWER on IntegriCloud