mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Fix missed out llvm-stress after APFloat change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173141 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a29cb0454
commit
f65dc6e347
@ -379,9 +379,7 @@ struct ConstModifier: public Modifier {
|
||||
RandomBits[i] = Ran->Rand64();
|
||||
|
||||
APInt RandomInt(Ty->getPrimitiveSizeInBits(), makeArrayRef(RandomBits));
|
||||
|
||||
bool isIEEE = !Ty->isX86_FP80Ty() && !Ty->isPPC_FP128Ty();
|
||||
APFloat RandomFloat(RandomInt, isIEEE);
|
||||
APFloat RandomFloat(Ty->getFltSemantics(), RandomInt);
|
||||
|
||||
if (Ran->Rand() & 1)
|
||||
return PT->push_back(ConstantFP::getNullValue(Ty));
|
||||
|
Loading…
x
Reference in New Issue
Block a user