aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fast-isel-trunc.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-03-13 23:53:06 +0000
committerDan Gohman <gohman@apple.com>2009-03-13 23:53:06 +0000
commit474d3b3f40e117a66946e9fb9d2016b4c05caef0 (patch)
treee4fe73f5281c4cbfdea7165412bf7d617eff8c60 /test/CodeGen/X86/fast-isel-trunc.ll
parent4425240dbcb6e0da24f4a9f72cfb24f529f5b7af (diff)
Improve FastISel's handling of truncates to i1, and implement
ptrtoint and inttoptr in X86FastISel. These casts aren't always handled in the generic FastISel code because X86 sometimes needs custom code to do truncation and zero-extension. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66988 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fast-isel-trunc.ll')
-rw-r--r--test/CodeGen/X86/fast-isel-trunc.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/fast-isel-trunc.ll b/test/CodeGen/X86/fast-isel-trunc.ll
index f70ff1c419..039f114737 100644
--- a/test/CodeGen/X86/fast-isel-trunc.ll
+++ b/test/CodeGen/X86/fast-isel-trunc.ll
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=x86 -fast-isel
-; RUN: llvm-as < %s | llc -march=x86-64 -fast-isel
+; RUN: llvm-as < %s | llc -march=x86 -fast-isel -fast-isel-abort
+; RUN: llvm-as < %s | llc -march=x86-64 -fast-isel -fast-isel-abort
define i8 @t1(i32 %x) signext nounwind {
%tmp1 = trunc i32 %x to i8