Displaying 2 results from an estimated 2 matches for "7883844b".
2016 Aug 28
2
IR canonicalization: vector select or shufflevector?
A vector select with a constant vector condition operand:
define <4 x i32> @foo(<4 x i32> %a, <4 x i32> %b) {
%sel = select <4 x i1> <i1 true, i1 false, i1 false, i1 true>, <4 x i32>
%a, <4 x i32> %b
ret <4 x i32> %sel
}
...is equivalent to a shufflevector:
define <4 x i32> @goo(<4 x i32> %a, <4 x i32> %b) {
%shuf =
2016 Aug 29
2
IR canonicalization: vector select or shufflevector?
...________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160829/7883844b/attachment-0001.html>