From: Steven Wu Date: Fri, 12 Dec 2014 18:48:37 +0000 (+0000) Subject: More code format fix from r224133, NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac42de8ef037a84956b857a894e8ae665e760b0a;p=llvm More code format fix from r224133, NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224140 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/InstCombine/InstCombineCasts.cpp b/lib/Transforms/InstCombine/InstCombineCasts.cpp index 48f5ce8a295..54157268e9f 100644 --- a/lib/Transforms/InstCombine/InstCombineCasts.cpp +++ b/lib/Transforms/InstCombine/InstCombineCasts.cpp @@ -1269,9 +1269,8 @@ Instruction *InstCombiner::visitFPTrunc(FPTruncInst &CI) { // type of OpI doesn't enter into things at all. We simply evaluate // in whichever source type is larger, then convert to the // destination type. - if (SrcWidth == OpWidth) { + if (SrcWidth == OpWidth) break; - } if (LHSWidth < SrcWidth) LHSOrig = Builder->CreateFPExt(LHSOrig, RHSOrig->getType()); else if (RHSWidth <= SrcWidth)