llvm.org GIT mirror llvm / e698712
[SDAG] Minor cleanup of variable usage. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298916 91177308-0d34-0410-b5e6-96231b3b80d8 Nirav Dave 3 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
11471147 bool Replace = false;
11481148 SDValue N0 = Op.getOperand(0);
11491149 if (Opc == ISD::SRA)
1150 N0 = SExtPromoteOperand(Op.getOperand(0), PVT);
1150 N0 = SExtPromoteOperand(N0, PVT);
11511151 else if (Opc == ISD::SRL)
1152 N0 = ZExtPromoteOperand(Op.getOperand(0), PVT);
1152 N0 = ZExtPromoteOperand(N0, PVT);
11531153 else
11541154 N0 = PromoteOperand(N0, PVT, Replace);
11551155 if (!N0.getNode())