aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll')
-rw-r--r--test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll b/test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll
new file mode 100644
index 0000000..b25dfaf
--- /dev/null
+++ b/test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll
@@ -0,0 +1,5 @@
+; RUN: llvm-as < %s | llc -march=x86 | grep -i ESP | not grep sub
+
+define i32 @test(i32 %X) {
+ ret i32 %X
+}