Displaying 1 result from an estimated 1 matches for "const_operand".
2017 Mar 30
2
InstructionSimplify: adding a hook for shufflevector instructions
...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> @const_operand(<4 x i32> %x) {
%shuf = shufflevector <4 x i32> <i32 42, i32 43, i32 44, i32 45>, <4 x i32> %x, <4 x i32> <i32 0, i32 3, i32 2, i32 1>
ret <4 x i32> %shuf
}
-->
define <4 x i32> @const_operand(<4 x i32> %x) {
ret <4 x i32> <i...