diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-05-17 18:29:03 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-05-17 18:29:03 +0000 |
commit | 19515b4e52c16723097c5b9c5f5fe65540db0187 (patch) | |
tree | 8652207745627e213520c5916c4d48c0a8104085 /test/CodeGen/X86 | |
parent | b8e0d3412c8319a19f37c1d7000b786c8975bd61 (diff) | |
download | llvm-19515b4e52c16723097c5b9c5f5fe65540db0187.tar.gz llvm-19515b4e52c16723097c5b9c5f5fe65540db0187.tar.bz2 llvm-19515b4e52c16723097c5b9c5f5fe65540db0187.tar.xz |
Add x86 fast-isel for calls returning first-class aggregates. rdar://9435872.
This is r131438 with a couple small fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r-- | test/CodeGen/X86/fast-isel-call.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/X86/fast-isel-extract.ll | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/X86/fast-isel-call.ll b/test/CodeGen/X86/fast-isel-call.ll index 5fcdbbbe53..f5fcf1ea1b 100644 --- a/test/CodeGen/X86/fast-isel-call.ll +++ b/test/CodeGen/X86/fast-isel-call.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -fast-isel -march=x86 | grep and +; RUN: llc < %s -fast-isel -march=x86 | FileCheck %s define i32 @t() nounwind { tak: @@ -8,6 +8,8 @@ BB1: ret i32 1 BB2: ret i32 0 +; CHECK: calll +; CHECK-NEXT: testb $1 } declare i1 @foo() zeroext nounwind diff --git a/test/CodeGen/X86/fast-isel-extract.ll b/test/CodeGen/X86/fast-isel-extract.ll index e51c4179dd..f63396e40c 100644 --- a/test/CodeGen/X86/fast-isel-extract.ll +++ b/test/CodeGen/X86/fast-isel-extract.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mtriple x86_64-apple-darwin11 -O0 | FileCheck %s +; RUN: llc < %s -mtriple x86_64-apple-darwin11 -O0 -fast-isel-abort | FileCheck %s %struct.x = type { i64, i64 } %addovf = type { i32, i1 } |