summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-23 05:43:02 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-23 05:43:02 +0000
commitcdd5ae6676aac86531d0b5fed97f57727d094bc5 (patch)
treee4eb2480dd230533c843d58d541c5ba8f56291c6 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent5f68af08066b28be2cb12befe0067cbafa0f8ac2 (diff)
downloadbcm5719-llvm-cdd5ae6676aac86531d0b5fed97f57727d094bc5.tar.gz
bcm5719-llvm-cdd5ae6676aac86531d0b5fed97f57727d094bc5.zip
[APInt] Use operator<<= where possible. NFC
llvm-svn: 301104
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index ac3934da907..16ad1a303e8 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -1714,7 +1714,7 @@ SDValue TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
bestWidth = width;
break;
}
- newMask = newMask << width;
+ newMask <<= width;
}
}
}
OpenPOWER on IntegriCloud