summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-01-31 17:25:42 +0000
committerSanjay Patel <spatel@rotateright.com>2017-01-31 17:25:42 +0000
commit2217f75ad1453eacbc654a0572b3f55ef10c4708 (patch)
tree7506a8fc7bb1bcde38425f940d0b03b1f54bd7f0 /llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
parent0c86ccf4b418dde2d4b4d5b57a2aeae1e7d381fc (diff)
downloadbcm5719-llvm-2217f75ad1453eacbc654a0572b3f55ef10c4708.tar.gz
bcm5719-llvm-2217f75ad1453eacbc654a0572b3f55ef10c4708.zip
fix formatting; NFC
llvm-svn: 293652
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 4cbffe9533b..d8574175307 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
@@ -507,7 +507,7 @@ Instruction *InstCombiner::FoldPHIArgOpIntoPHI(PHINode &PN) {
// Be careful about transforming integer PHIs. We don't want to pessimize
// the code by turning an i32 into an i1293.
if (PN.getType()->isIntegerTy() && CastSrcTy->isIntegerTy()) {
- if (!ShouldChangeType(PN.getType(), CastSrcTy))
+ if (!shouldChangeType(PN.getType(), CastSrcTy))
return nullptr;
}
} else if (isa<BinaryOperator>(FirstInst) || isa<CmpInst>(FirstInst)) {
OpenPOWER on IntegriCloud