Skip to content

Commit 4ebcf04

Browse files
committed
Remove unhelpful commentary.
1 parent 0181253 commit 4ebcf04

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

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

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

0 commit comments

Comments
 (0)