Skip to content

Commit 7a69134

Browse files
committed
Address review comment
1 parent 0dda624 commit 7a69134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10402,7 +10402,7 @@ SDValue AArch64TargetLowering::LowerBR_CC(SDValue Op, SelectionDAG &DAG) const {
1040210402
ProduceNonFlagSettingCondBr) {
1040310403
AArch64CC::CondCode ACC = changeIntCCToAArch64CC(CC);
1040410404
unsigned Opc = AArch64ISD::CBRR;
10405-
if (ConstantSDNode *Imm = dyn_cast<ConstantSDNode>(RHS)) {
10405+
if (auto *Imm = dyn_cast<ConstantSDNode>(RHS)) {
1040610406
APInt NewImm = Imm->getAPIntValue();
1040710407
if (ACC == AArch64CC::GE || ACC == AArch64CC::HS)
1040810408
NewImm = Imm->getAPIntValue() - 1;

0 commit comments

Comments
 (0)