summaryrefslogtreecommitdiffstats
path: root/llvm/test/ThinLTO/X86/Inputs/module_asm2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/ThinLTO/X86/Inputs/module_asm2.ll')
-rw-r--r--llvm/test/ThinLTO/X86/Inputs/module_asm2.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/ThinLTO/X86/Inputs/module_asm2.ll b/llvm/test/ThinLTO/X86/Inputs/module_asm2.ll
new file mode 100644
index 00000000000..e823277da67
--- /dev/null
+++ b/llvm/test/ThinLTO/X86/Inputs/module_asm2.ll
@@ -0,0 +1,12 @@
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+define i32 @main({ i64, { i64, i8* }* } %unnamed) #0 {
+ %1 = call i32 @func1() #1
+ %2 = call i32 @func2() #1
+ %3 = call i32 @func3() #1
+ ret i32 %1
+}
+declare i32 @func1() #1
+declare i32 @func2() #1
+declare i32 @func3() #1
OpenPOWER on IntegriCloud