summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2017-07-11 06:04:59 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2017-07-11 06:04:59 +0000
commit0ca79dcf4b140bc94b277e654b60301bc51d5095 (patch)
treefbe306be5973a0a85b0045678c26e2166599eca8 /llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
parent01f0c8a8c466b11a835745397c82a3bb1ccb0945 (diff)
downloadbcm5719-llvm-0ca79dcf4b140bc94b277e654b60301bc51d5095.tar.gz
bcm5719-llvm-0ca79dcf4b140bc94b277e654b60301bc51d5095.zip
fix typos in comments; NFC
llvm-svn: 307626
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp b/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
index 7fb4a914fe5..0011412c2bf 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
@@ -636,7 +636,7 @@ static bool PHIsEqualValue(PHINode *PN, Value *NonPhiInVal,
/// Return an existing non-zero constant if this phi node has one, otherwise
/// return constant 1.
static ConstantInt *GetAnyNonZeroConstInt(PHINode &PN) {
- assert(isa<IntegerType>(PN.getType()) && "Expect only intger type phi");
+ assert(isa<IntegerType>(PN.getType()) && "Expect only integer type phi");
for (Value *V : PN.operands())
if (auto *ConstVA = dyn_cast<ConstantInt>(V))
if (!ConstVA->isZero())
OpenPOWER on IntegriCloud