http://llvm.org/bugs/show_bug.cgi?id=2566
Summary: Combine of bitcast and shuffle assumes vector to vector
cast
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
Created an attachment (id=1844)
--> (http://llvm.org/bugs/attachment.cgi?id=1844)
Replacement of fibonacci.cpp generating the LLVM IR
When a cast from a plain integer to a vector is followed by a shuffle, I'm
hitting an assert originating in DAGCombiner::visitVECTOR_SHUFFLE:
Assertion failed: isVector() && "Invalid vector type!", file
d:\Projects\LLVM\in
clude\llvm/CodeGen/ValueTypes.h, line 333
It looks like it's incorrectly assuming the cast to be a cast from one vector
to another.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs