[LLVMbugs] [Bug 2566] Combine of bitcast and shuffle assumes vector to vector cast
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Jul 24 14:52:37 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2566
Nicolas Capens <nicolas at capens.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #9 from Nicolas Capens <nicolas at capens.net> 2008-07-24 16:52:36 ---
(In reply to comment #8)
> Patch committed.
Thanks!
> The assumption in getShuffleScalarElt is safe.
getShuffleScalarElt itself is indeed correct, however, PerformShuffleCombine in
X86ISelLowering incorrectly assumes it's dealing with a vector to vector
bitcast. So to clarify, I'm getting an assert with the following call stack:
assert
llvm::MVT::getVectorNumElements
llvm::SelectionDAG::getShuffleScalarElt
EltsFromConsecutiveLoads
PerformShuffleCombine
llvm::X86TargetLowering::PerformDAGCombine
...
--
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.
More information about the llvm-bugs
mailing list