Skip to content

Commit c5b767c

Browse files
committed
Remove unhelpful commentary.
1 parent c5904d8 commit c5b767c

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
@@ -4063,10 +4063,6 @@ SDValue AMDGPUTargetLowering::performShlCombine(SDNode *N,
40634063
SDLoc SL(N);
40644064
SelectionDAG &DAG = DCI.DAG;
40654065

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

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

0 commit comments

Comments
 (0)