summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2018-04-12 05:53:20 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2018-04-12 05:53:20 +0000
commitbcadfee2ad0eb951d88a4c516150122fdf004617 (patch)
tree1ad8556c8f92c0ea9ff1c214cae4e413e3ba9d10 /llvm/lib/IR
parent21d28fe8b8e4624ceb0b06213a8b07f005016951 (diff)
downloadbcm5719-llvm-bcadfee2ad0eb951d88a4c516150122fdf004617.tar.gz
bcm5719-llvm-bcadfee2ad0eb951d88a4c516150122fdf004617.zip
[NFC] fix trivial typos in documents and comments
"is is" -> "is", "if if" -> "if", "or or" -> "or" llvm-svn: 329878
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/ConstantFold.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/ConstantFold.cpp b/llvm/lib/IR/ConstantFold.cpp
index 7ad2d46bfb6..3859dfbbd3f 100644
--- a/llvm/lib/IR/ConstantFold.cpp
+++ b/llvm/lib/IR/ConstantFold.cpp
@@ -321,7 +321,7 @@ static Constant *ExtractConstantBytes(Constant *C, unsigned ByteStart,
if (ByteStart == 0 && ByteSize*8 == SrcBitSize)
return CE->getOperand(0);
- // If extracting something completely in the input, if if the input is a
+ // If extracting something completely in the input, if the input is a
// multiple of 8 bits, recurse.
if ((SrcBitSize&7) == 0 && (ByteStart+ByteSize)*8 <= SrcBitSize)
return ExtractConstantBytes(CE->getOperand(0), ByteStart, ByteSize);
OpenPOWER on IntegriCloud