mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
In InstCombine{AddSub,MulDivRem} convert APFloat.isFiniteNonZero() && !APFloat.isDenormal => APFloat.isNormal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185037 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -488,7 +488,7 @@ Value *FAddCombine::performFactorization(Instruction *I) {
|
||||
createFSub(AddSub0, AddSub1);
|
||||
if (ConstantFP *CFP = dyn_cast<ConstantFP>(NewAddSub)) {
|
||||
const APFloat &F = CFP->getValueAPF();
|
||||
if (!F.isFiniteNonZero() || F.isDenormal())
|
||||
if (!F.isNormal())
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user