summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/field-extract-use-trunc.ll
diff options
context:
space:
mode:
authorChristopher Lamb <christopher.lamb@gmail.com>2008-03-19 08:30:06 +0000
committerChristopher Lamb <christopher.lamb@gmail.com>2008-03-19 08:30:06 +0000
commit15cbde3cf6542ec9c120f59d5d8f3586f5f332c6 (patch)
tree323a51a31cb8a7c4e37df464dd13c8708c085f7b /test/CodeGen/X86/field-extract-use-trunc.ll
parente6d5d39c072d3b16ff4183c515d7ccf198192958 (diff)
downloadllvm-15cbde3cf6542ec9c120f59d5d8f3586f5f332c6.tar.gz
llvm-15cbde3cf6542ec9c120f59d5d8f3586f5f332c6.tar.bz2
llvm-15cbde3cf6542ec9c120f59d5d8f3586f5f332c6.tar.xz
Fix X86's isTruncateFree to not claim that truncate to i1 is free. This fixes Bill's testcase that failed for r48491.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48542 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/field-extract-use-trunc.ll')
-rw-r--r--test/CodeGen/X86/field-extract-use-trunc.ll1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/CodeGen/X86/field-extract-use-trunc.ll b/test/CodeGen/X86/field-extract-use-trunc.ll
index bb46bc5055..c4f9587335 100644
--- a/test/CodeGen/X86/field-extract-use-trunc.ll
+++ b/test/CodeGen/X86/field-extract-use-trunc.ll
@@ -1,6 +1,5 @@
; RUN: llvm-as < %s | llc -march=x86 | grep sar | count 1
; RUN: llvm-as < %s | llc -march=x86-64 | not grep sar
-; XFAIL: *
define i32 @test(i32 %f12) {
%tmp7.25 = lshr i32 %f12, 16