File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed
Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -446,11 +446,6 @@ void CustomSafeOptPass::visitCallInst(CallInst& C)
446446 break ;
447447 }
448448
449- case GenISAIntrinsic::GenISA_WaveShuffleIndex:
450- {
451- visitWaveShuffleIndex (inst);
452- break ;
453- }
454449 default :
455450 break ;
456451 }
@@ -1178,15 +1173,6 @@ void IGC::CustomSafeOptPass::visitLdptr(llvm::CallInst* inst)
11781173 }
11791174}
11801175
1181- void IGC::CustomSafeOptPass::visitWaveShuffleIndex (llvm::CallInst* inst)
1182- {
1183- llvm::Constant* src1 = llvm::dyn_cast<llvm::Constant>(inst->getOperand (1 ));
1184- llvm::Constant* src2 = llvm::dyn_cast<llvm::Constant>(inst->getOperand (2 ));
1185- if (src1 && src2 && src1->isZeroValue () && src2->isZeroValue ())
1186- {
1187- inst->replaceAllUsesWith (inst->getOperand (0 ));
1188- }
1189- }
11901176
11911177void IGC::CustomSafeOptPass::visitLdRawVec (llvm::CallInst* inst)
11921178{
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ namespace IGC
8282 void visitLdptr (llvm::CallInst* inst);
8383 void visitLdRawVec (llvm::CallInst* inst);
8484 void visitLoadInst (llvm::LoadInst& I);
85- void visitWaveShuffleIndex (llvm::CallInst* inst);
8685
8786 //
8887 // IEEE Floating point arithmetic is not associative. Any pattern
You can’t perform that action at this time.
0 commit comments