Skip to content

Commit e8facb3

Browse files
committed
Remove unhelpful commentary.
1 parent 349a883 commit e8facb3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4064,10 +4064,6 @@ SDValue AMDGPUTargetLowering::performShlCombine(SDNode *N,
40644064
SDLoc SL(N);
40654065
SelectionDAG &DAG = DCI.DAG;
40664066

4067-
// When the shl64_reduce optimisation code is passed through vector
4068-
// legalization some scalarising occurs. After ISD::AND was legalised, this
4069-
// resulted in the AND instructions no longer being elided, as mentioned
4070-
// below. The following code should make sure this takes place.
40714067
if (RHS->getOpcode() == ISD::EXTRACT_VECTOR_ELT) {
40724068
SDValue VAND = RHS.getOperand(0);
40734069
if (ConstantSDNode *CRRHS = dyn_cast<ConstantSDNode>(RHS->getOperand(1))) {
@@ -4313,10 +4309,6 @@ SDValue AMDGPUTargetLowering::performSrlCombine(SDNode *N,
43134309
SDLoc SL(N);
43144310
unsigned RHSVal;
43154311

4316-
// When the shl64_reduce optimisation code is passed through vector
4317-
// legalization some scalarising occurs. After ISD::AND was legalised, this
4318-
// resulted in the AND instructions no longer being elided, as mentioned
4319-
// below. The following code should make sure this takes place.
43204312
if (RHS->getOpcode() == ISD::EXTRACT_VECTOR_ELT) {
43214313
SDValue VAND = RHS.getOperand(0);
43224314
if (ConstantSDNode *CRRHS = dyn_cast<ConstantSDNode>(RHS->getOperand(1))) {

0 commit comments

Comments
 (0)