Skip to content

Commit b36c74c

Browse files
committed
Format
Created using spr 1.3.6-beta.1
1 parent 16d5799 commit b36c74c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Transforms/IPO/LowerTypeTests.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2508,8 +2508,8 @@ PreservedAnalyses SimplifyTypeTestsPass::run(Module &M,
25082508
};
25092509
for (User *U : make_early_inc_range(GV.users())) {
25102510
if (auto *CI = dyn_cast<ICmpInst>(U)) {
2511-
if (CI->getPredicate() == CmpInst::ICMP_EQ &&
2512-
MaySimplifyPtr(CI->getOperand(0))) {
2511+
if (CI->getPredicate() == CmpInst::ICMP_EQ &&
2512+
MaySimplifyPtr(CI->getOperand(0))) {
25132513
// This is an equality comparison (TypeTestResolution::Single case in
25142514
// lowerTypeTestCall). In this case we just replace the comparison
25152515
// with true.
@@ -2538,8 +2538,8 @@ PreservedAnalyses SimplifyTypeTestsPass::run(Module &M,
25382538
if (U.getOperandNo() == 1 && CI &&
25392539
CI->getPredicate() == CmpInst::ICMP_EQ &&
25402540
MaySimplifyInt(CI->getOperand(0))) {
2541-
// This is an equality comparison. Unlike in the case above it remained
2542-
// as an integer compare.
2541+
// This is an equality comparison. Unlike in the case above it
2542+
// remained as an integer compare.
25432543
CI->replaceAllUsesWith(ConstantInt::getTrue(M.getContext()));
25442544
CI->eraseFromParent();
25452545
Changed = true;

0 commit comments

Comments
 (0)