If we have a select whose operands are two shufflevectors and we know the
non-selected elements are undef, replace the instruction with a
shufflevector from the source vectors of the shufflevectors.
Added test cases.
Differential D3561
Fold selects when the non-selected elements are undef from shufflevectors filcab on Apr 29 2014, 11:27 PM. Authored by
Details
If we have a select whose operands are two shufflevectors and we know the Added test cases.
Diff Detail Event Timeline
Comment Actions More fixes pointed by Benjamin Kramer. Comment Actions Per discussion on the mailing list (e. g: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140505/216033.html and following messages), I'm abandoning this revision. |
Argument "SI" is now unused :)