aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2006-11-12-CSRetCC.ll
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-02 20:43:08 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-02 20:43:08 +0000
commit432a8931e4daaf246536a27e7c58966fc01866e3 (patch)
treec64c08b51722b788dc444ec6d318b202c2024784 /test/CodeGen/X86/2006-11-12-CSRetCC.ll
parent327b8f1706e7b772e5ba064113f1e95e9f429955 (diff)
downloadexternal_llvm-432a8931e4daaf246536a27e7c58966fc01866e3.zip
external_llvm-432a8931e4daaf246536a27e7c58966fc01866e3.tar.gz
external_llvm-432a8931e4daaf246536a27e7c58966fc01866e3.tar.bz2
FileCheck-ize
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2006-11-12-CSRetCC.ll')
-rw-r--r--test/CodeGen/X86/2006-11-12-CSRetCC.ll7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2006-11-12-CSRetCC.ll b/test/CodeGen/X86/2006-11-12-CSRetCC.ll
index 91210ea..6ec9a48 100644
--- a/test/CodeGen/X86/2006-11-12-CSRetCC.ll
+++ b/test/CodeGen/X86/2006-11-12-CSRetCC.ll
@@ -1,9 +1,14 @@
-; RUN: llc < %s -march=x86 | grep {subl \$4, %esp}
+; RUN: llc < %s -march=x86 | FileCheck %s
target triple = "i686-pc-linux-gnu"
@str = internal constant [9 x i8] c"%f+%f*i\0A\00" ; <[9 x i8]*> [#uses=1]
define i32 @main() {
+; CHECK: main:
+; CHECK-NOT: ret
+; CHECK: subl $4, %{{.*}}
+; CHECK: ret
+
entry:
%retval = alloca i32, align 4 ; <i32*> [#uses=1]
%tmp = alloca { double, double }, align 16 ; <{ double, double }*> [#uses=4]