mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
More code format fix from r224133, NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224140 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user