Displaying 1 result from an estimated 1 matches for "pseudo_identity_mask".
2017 Mar 30
2
InstructionSimplify: adding a hook for shufflevector instructions
...mask_1(<4 x i32> %x) {
%shuf = shufflevector <4 x i32> undef, <4 x i32> %x, <4 x i32> <i32 4, i32 5, i32 6, i32 7>
ret <4 x i32> %shuf
}
-->
define <4 x i32> @identity_mask_1(<4 x i32> %x) {
ret <4 x i32> %x
}
define <4 x i32> @pseudo_identity_mask(<4 x i32> %x) {
%shuf = shufflevector <4 x i32> %x, <4 x i32> %x, <4 x i32> <i32 0, i32 1, i32 2, i32 7>
ret <4 x i32> %shuf
}
-->
define <4 x i32> @pseudo_identity_mask(<4 x i32> %x) {
ret <4 x i32> %x
}
define <4 x i32> @cons...