Skip to content

Commit db04694

Browse files
committed
Remove unhelpful commentary.
1 parent d93e8b2 commit db04694

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

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

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

0 commit comments

Comments
 (0)