[llvm] r224140 - More code format fix from r224133, NFC
Steven Wu
stevenwu at apple.com
Fri Dec 12 10:48:38 PST 2014
Author: steven_wu
Date: Fri Dec 12 12:48:37 2014
New Revision: 224140
URL: http://llvm.org/viewvc/llvm-project?rev=224140&view=rev
Log:
More code format fix from r224133, NFC
Modified:
llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp
Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp?rev=224140&r1=224139&r2=224140&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp Fri Dec 12 12:48:37 2014
@@ -1269,9 +1269,8 @@ Instruction *InstCombiner::visitFPTrunc(
// 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)
More information about the llvm-commits
mailing list