[LLVMbugs] [Bug 15267] New: Sign extend from <4 x i1> to <4 x i64> - wrong code generated
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Feb 14 06:02:11 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=15267
Bug ID: 15267
Summary: Sign extend from <4 x i1> to <4 x i64> - wrong code
generated
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: elena.demikhovsky at intel.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
The generated code for this testcase is wrong.
define <4 x i64> @test3(<4 x i1>* %in) nounwind {
%wide.load35 = load <4 x i1>* %in, align 1
%sext = sext <4 x i1> %wide.load35 to <4 x i64>
ret <4 x i64> %sext
}
movzbl (%rcx), %eax
shlq $63, %rax
sarq $63, %rax
vmovd %rax, %xmm0
vbroadcastsd %xmm0, %ymm0
ret
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130214/7dbfccff/attachment.html>
More information about the llvm-bugs
mailing list