OSDN Git Service

fixed typo in comment
authorSanjay Patel <spatel@rotateright.com>
Tue, 22 Jul 2014 04:57:06 +0000 (04:57 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 22 Jul 2014 04:57:06 +0000 (04:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213614 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/InstCombine/InstCombineShifts.cpp

index 2f91c20..3d0cc05 100644 (file)
@@ -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