summaryrefslogtreecommitdiffstats
path: root/llvm/test/ThinLTO/X86/Inputs/noinline.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/ThinLTO/X86/Inputs/noinline.ll')
-rw-r--r--llvm/test/ThinLTO/X86/Inputs/noinline.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/ThinLTO/X86/Inputs/noinline.ll b/llvm/test/ThinLTO/X86/Inputs/noinline.ll
new file mode 100644
index 00000000000..73db2912cab
--- /dev/null
+++ b/llvm/test/ThinLTO/X86/Inputs/noinline.ll
@@ -0,0 +1,8 @@
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-pc-linux-gnu"
+
+define i32 @foo(i32) local_unnamed_addr #0 {
+ ret i32 10
+}
+
+attributes #0 = { noinline }
OpenPOWER on IntegriCloud