mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Fix missed out llvm-stress after APFloat change.
llvm-svn: 173141
This commit is contained in:
parent
52ba1e77cb
commit
f041680edc
@ -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…
Reference in New Issue
Block a user