Skip to content

Commit 5cfb4d7

Browse files
esukhovigcbot
authored andcommitted
Remove binary XOR splitting in Emulation pass
Remove binary XOR splitting in Emulation pass
1 parent c5ef049 commit 5cfb4d7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

IGC/VectorCompiler/lib/GenXCodeGen/GenXEmulate.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -647,16 +647,6 @@ Value *GenXEmulate::Emu64Expander::visitOr(BinaryOperator &Op) {
647647
return expandBitLogicOp(Op);
648648
}
649649
Value *GenXEmulate::Emu64Expander::visitXor(BinaryOperator &Op) {
650-
if (auto *NotOperand = detectBitwiseNot(Op)) {
651-
unsigned OperandIdx = NotOperand == Op.getOperand(0) ? 0 : 1;
652-
auto Src0 = SplitBuilder.splitOperandHalf(OperandIdx);
653-
auto *Part1 = BinaryOperator::CreateNot(Src0.Left, ".part1_not", &Inst);
654-
auto *Part2 = BinaryOperator::CreateNot(Src0.Right, ".part2_not", &Inst);
655-
Part1->setDebugLoc(Inst.getDebugLoc());
656-
Part2->setDebugLoc(Inst.getDebugLoc());
657-
return SplitBuilder.combineHalfSplit({Part1, Part2}, "int_emu.not.",
658-
Op.getType()->isIntegerTy());
659-
}
660650
return expandBitLogicOp(Op);
661651
}
662652
GenXEmulate::Emu64Expander::VectorInfo

0 commit comments

Comments
 (0)