diff options
author | Andrew Trick <atrick@apple.com> | 2013-02-14 03:00:57 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-02-14 03:00:57 +0000 |
commit | fd1335e982bbf93c5f450ed4fd29f9f787435c85 (patch) | |
tree | 32fa8d2d0cfa6ea28735b9ccc0f3758ea2db64dc /test/CodeGen/X86/tailcallbyval.ll | |
parent | 1d4673228143965fafbcb679417f5a9be53d0a2a (diff) | |
download | external_llvm-fd1335e982bbf93c5f450ed4fd29f9f787435c85.zip external_llvm-fd1335e982bbf93c5f450ed4fd29f9f787435c85.tar.gz external_llvm-fd1335e982bbf93c5f450ed4fd29f9f787435c85.tar.bz2 |
Revert "s/grep/FileCheck/ in some tests"
This reverts commit 8b75e6bc35fb3f9c1e788dbd05084c0f4a60a0f3.
The FileCheck tests are not equivalent:
test/CodeGen/X86/tailcall-structret.ll:6:10: error: expected string not found in input
; CHECK: jmp init
^
<stdin>:1:2: note: scanning from here
.section __TEXT,__text,regular,pure_instructions
^
<stdin>:13:2: note: possible intended match here
jmp _init ## TAILCALL
^
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/tailcallbyval.ll')
-rw-r--r-- | test/CodeGen/X86/tailcallbyval.ll | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/CodeGen/X86/tailcallbyval.ll b/test/CodeGen/X86/tailcallbyval.ll index f0ccaaa..118eee6 100644 --- a/test/CodeGen/X86/tailcallbyval.ll +++ b/test/CodeGen/X86/tailcallbyval.ll @@ -1,4 +1,5 @@ -; RUN: llc < %s -march=x86 -tailcallopt | FileCheck %s +; RUN: llc < %s -march=x86 -tailcallopt | grep TAILCALL +; RUN: llc < %s -march=x86 -tailcallopt | grep "movl[[:space:]]*4(%esp), %eax" | count 1 %struct.s = type {i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } @@ -8,15 +9,10 @@ entry: %tmp2 = getelementptr %struct.s* %a, i32 0, i32 0 %tmp3 = load i32* %tmp2 ret i32 %tmp3 -; CHECK: tailcallee -; CHECK: movl 4(%esp), %eax } define fastcc i32 @tailcaller(%struct.s* byval %a) nounwind { entry: %tmp4 = tail call fastcc i32 @tailcallee(%struct.s* byval %a ) ret i32 %tmp4 -; CHECK: tailcaller -; CHECK: jmp tailcallee } - |