mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Fix variable name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187253 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
252d41691a
commit
107c578126
@ -1539,8 +1539,8 @@ Instruction *InstCombiner::visitFSub(BinaryOperator &I) {
|
||||
}
|
||||
} else if (FPExtInst *FPEI = dyn_cast<FPExtInst>(Op1)) {
|
||||
if (Value *V = dyn_castFNegVal(FPEI->getOperand(0))) {
|
||||
Value *NewTrunc = Builder->CreateFPExt(V, I.getType());
|
||||
return BinaryOperator::CreateFAdd(Op0, NewTrunc);
|
||||
Value *NewExt = Builder->CreateFPExt(V, I.getType());
|
||||
return BinaryOperator::CreateFAdd(Op0, NewExt);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user