diff options
Diffstat (limited to 'test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll')
-rw-r--r-- | test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll b/test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll index f986ebd35f85e..d7f7e262d8934 100644 --- a/test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll +++ b/test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll @@ -1,5 +1,10 @@ -; RUN: llc < %s -march=x86 | grep -i ESP | not grep sub +; RUN: llc < %s -march=x86 | FileCheck %s + +target triple = "i686-unknown-unknown" define i32 @test(i32 %X) { - ret i32 %X +; CHECK-LABEL: test: +entry: + ret i32 %X +; CHECK-NOT: subl %esp } |