diff options
| author | Steven Wu <stevenwu@apple.com> | 2014-12-12 18:48:37 +0000 |
|---|---|---|
| committer | Steven Wu <stevenwu@apple.com> | 2014-12-12 18:48:37 +0000 |
| commit | f179d12e50a9afd446bcf5ac4b4800ec0dcbe200 (patch) | |
| tree | 01626cd6ca071f084abdd14b7fc8f72e5aca6328 /llvm/lib/Transforms | |
| parent | 275e342ca91a28a2da6aac259bf0995b811d8d46 (diff) | |
| download | bcm5719-llvm-f179d12e50a9afd446bcf5ac4b4800ec0dcbe200.tar.gz bcm5719-llvm-f179d12e50a9afd446bcf5ac4b4800ec0dcbe200.zip | |
More code format fix from r224133, NFC
llvm-svn: 224140
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp index 48f5ce8a295..54157268e9f 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp +++ b/llvm/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) |

