1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

More code format fix from r224133, NFC

llvm-svn: 224140
This commit is contained in:
Steven Wu 2014-12-12 18:48:37 +00:00
parent 518ffae495
commit 17876438f0

View File

@ -1269,9 +1269,8 @@ Instruction *InstCombiner::visitFPTrunc(FPTruncInst &CI) {
// type of OpI doesn't enter into things at all. We simply evaluate // type of OpI doesn't enter into things at all. We simply evaluate
// in whichever source type is larger, then convert to the // in whichever source type is larger, then convert to the
// destination type. // destination type.
if (SrcWidth == OpWidth) { if (SrcWidth == OpWidth)
break; break;
}
if (LHSWidth < SrcWidth) if (LHSWidth < SrcWidth)
LHSOrig = Builder->CreateFPExt(LHSOrig, RHSOrig->getType()); LHSOrig = Builder->CreateFPExt(LHSOrig, RHSOrig->getType());
else if (RHSWidth <= SrcWidth) else if (RHSWidth <= SrcWidth)