Commit da7e29ce authored by Thomas's avatar Thomas Committed by gbsbuild

Remove dead intrinsic OUTPUTMASK

Change-Id: I8bc02899dd54785a29e1b6a81a46f56cd3aee2a3
parent 7f56bb30
......@@ -7331,9 +7331,6 @@ void EmitPass::EmitGenIntrinsicMessage(llvm::GenIntrinsicInst* inst)
case GenISAIntrinsic::GenISA_WaveAll:
emitWaveAll(inst);
break;
case GenISAIntrinsic::GenISA_OUTPUTPSMASK:
break;
case GenISAIntrinsic::GenISA_InitDiscardMask:
emitInitDiscardMask(inst);
break;
......
......@@ -2993,8 +2993,7 @@ void EarlyOutPatterns::MoveOutputToConvergeBlock(BasicBlock* divergeBlock, Basic
if(GenIntrinsicInst* intr = dyn_cast<GenIntrinsicInst>(I))
{
auto id = intr->getIntrinsicID();
if (id == GenISAIntrinsic::GenISA_OUTPUT ||
id == GenISAIntrinsic::GenISA_OUTPUTPSMASK)
if (id == GenISAIntrinsic::GenISA_OUTPUT)
{
intr->moveBefore(convergeBlock->getTerminator());
}
......
......@@ -150,7 +150,6 @@ Imported_Intrinsics = \
"GenISA_DCL_GSsystemValue": ["float",["int","int"],"NoMem"],
"GenISA_DCL_input": ["int",["int","int"],"None"],
"GenISA_OUTPUT": ["void",["anyfloat",0,0,0,"int","int"],"NoDuplicate"],
"GenISA_OUTPUTPSMASK": ["void",["bool"],"NoDuplicate"],
"GenISA_PatchConstantOutput": ["void",["anyfloat",0,0,0,"int","int"],"None"],
"GenISA_PHASE_OUTPUT": ["void",["float","int"],"None"],
"GenISA_PHASE_INPUT": ["float",["int"],"NoMem"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment