v_swap_b32 is a VOP1-only instruction, meaning it neither encodes src1
nor has 64-bit encodings.
Reviewed By: foad
Differential Revision: https://reviews.llvm.org/D143289
>;
}
-def VOP_SWAP_I32 : VOPProfile<[i32, i32, i32, untyped]> {
+def VOP_SWAP_I32 : VOPProfile<[i32, i32, untyped, untyped]> {
let Outs32 = (outs VGPR_32:$vdst, VRegSrc_32:$vdst1);
let Ins32 = (ins VRegSrc_32:$src0, VGPR_32:$src1);
- let Outs64 = Outs32;
let Asm32 = " $vdst, $src0";
- let Asm64 = "";
- let Ins64 = (ins);
}
let SubtargetPredicate = isGFX9Plus in {