summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2014-07-22 04:57:06 +0000
committerSanjay Patel <spatel@rotateright.com>2014-07-22 04:57:06 +0000
commitfc3d8f0a78fe326cd5403e86cfc03b0abf668f31 (patch)
tree8dfb27b95e8a6e65fdc0f811c5b212d84989a32b /llvm/lib/Transforms
parentd53def22efc4a3d3d30ae05ca2d2f720181ae417 (diff)
downloadbcm5719-llvm-fc3d8f0a78fe326cd5403e86cfc03b0abf668f31.tar.gz
bcm5719-llvm-fc3d8f0a78fe326cd5403e86cfc03b0abf668f31.zip
fixed typo in comment
llvm-svn: 213614
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp b/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
index 2f91c204dbd..3d0cc05f30c 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
@@ -488,7 +488,7 @@ Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, Constant *Op1,
}
- // If the operand is an bitwise operator with a constant RHS, and the
+ // If the operand is a bitwise operator with a constant RHS, and the
// shift is the only use, we can pull it out of the shift.
if (ConstantInt *Op0C = dyn_cast<ConstantInt>(Op0BO->getOperand(1))) {
bool isValid = true; // Valid only for And, Or, Xor
OpenPOWER on IntegriCloud