Skip to content

Commit 12f29b7

Browse files
committed
Remove unhelpful commentary.
1 parent 55a643d commit 12f29b7

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
@@ -4056,10 +4056,6 @@ SDValue AMDGPUTargetLowering::performShlCombine(SDNode *N,
40564056
SDLoc SL(N);
40574057
SelectionDAG &DAG = DCI.DAG;
40584058

4059-
// When the shl64_reduce optimisation code is passed through vector
4060-
// legalization some scalarising occurs. After ISD::AND was legalised, this
4061-
// resulted in the AND instructions no longer being elided, as mentioned
4062-
// below. The following code should make sure this takes place.
40634059
if (RHS->getOpcode() == ISD::EXTRACT_VECTOR_ELT) {
40644060
SDValue VAND = RHS.getOperand(0);
40654061
if (ConstantSDNode *CRRHS = dyn_cast<ConstantSDNode>(RHS->getOperand(1))) {
@@ -4234,10 +4230,6 @@ SDValue AMDGPUTargetLowering::performSrlCombine(SDNode *N,
42344230
SDLoc SL(N);
42354231
unsigned RHSVal;
42364232

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

0 commit comments

Comments
 (0)