forked from OSchip/llvm-project
R600/SI: Remove modifier operands from V_CNDMASK_B32_e64
Modifiers don't work for this instruction. llvm-svn: 218253
This commit is contained in:
parent
c9965f4186
commit
5a9a61ed7d
|
@ -1317,9 +1317,8 @@ def V_CNDMASK_B32_e32 : VOP2 <0x00000000, (outs VReg_32:$dst),
|
||||||
}
|
}
|
||||||
|
|
||||||
def V_CNDMASK_B32_e64 : VOP3 <0x00000100, (outs VReg_32:$dst),
|
def V_CNDMASK_B32_e64 : VOP3 <0x00000100, (outs VReg_32:$dst),
|
||||||
(ins VSrc_32:$src0, VSrc_32:$src1, SSrc_64:$src2,
|
(ins VSrc_32:$src0, VSrc_32:$src1, SSrc_64:$src2),
|
||||||
InstFlag:$abs, InstFlag:$clamp, InstFlag:$omod, InstFlag:$neg),
|
"V_CNDMASK_B32_e64 $dst, $src0, $src1, $src2",
|
||||||
"V_CNDMASK_B32_e64 $dst, $src0, $src1, $src2, $abs, $clamp, $omod, $neg",
|
|
||||||
[(set i32:$dst, (select i1:$src2, i32:$src1, i32:$src0))]
|
[(set i32:$dst, (select i1:$src2, i32:$src1, i32:$src0))]
|
||||||
> {
|
> {
|
||||||
let src0_modifiers = 0;
|
let src0_modifiers = 0;
|
||||||
|
|
|
@ -127,11 +127,7 @@ bool SILowerI1Copies::runOnMachineFunction(MachineFunction &MF) {
|
||||||
.addOperand(MI.getOperand(0))
|
.addOperand(MI.getOperand(0))
|
||||||
.addImm(0)
|
.addImm(0)
|
||||||
.addImm(-1)
|
.addImm(-1)
|
||||||
.addOperand(MI.getOperand(1))
|
.addOperand(MI.getOperand(1));
|
||||||
.addImm(0)
|
|
||||||
.addImm(0)
|
|
||||||
.addImm(0)
|
|
||||||
.addImm(0);
|
|
||||||
MI.eraseFromParent();
|
MI.eraseFromParent();
|
||||||
} else if (TRI->getCommonSubClass(DstRC, &AMDGPU::SGPR_64RegClass) &&
|
} else if (TRI->getCommonSubClass(DstRC, &AMDGPU::SGPR_64RegClass) &&
|
||||||
SrcRC == &AMDGPU::VReg_1RegClass) {
|
SrcRC == &AMDGPU::VReg_1RegClass) {
|
||||||
|
|
Loading…
Reference in New Issue