mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Rename 'DenormalMode' in CommandFlags.inc to 'DenormalFPMath', as its
option is actually named anyhow. This avoids a conflict with the llvm::DenormalMode enum in FloatingPointMode.h.
This commit is contained in:
parent
496500a08b
commit
30aba84435
@ -151,7 +151,7 @@ static cl::opt<bool>
|
|||||||
"attribute not to use exceptions"),
|
"attribute not to use exceptions"),
|
||||||
cl::init(false));
|
cl::init(false));
|
||||||
|
|
||||||
static cl::opt<llvm::FPDenormal::DenormalMode> DenormalMode(
|
static cl::opt<llvm::FPDenormal::DenormalMode> DenormalFPMath(
|
||||||
"denormal-fp-math",
|
"denormal-fp-math",
|
||||||
cl::desc("Select which denormal numbers the code is permitted to require"),
|
cl::desc("Select which denormal numbers the code is permitted to require"),
|
||||||
cl::init(FPDenormal::IEEE),
|
cl::init(FPDenormal::IEEE),
|
||||||
@ -291,7 +291,7 @@ static TargetOptions InitTargetOptionsFromCodeGenFlags() {
|
|||||||
Options.NoNaNsFPMath = EnableNoNaNsFPMath;
|
Options.NoNaNsFPMath = EnableNoNaNsFPMath;
|
||||||
Options.NoSignedZerosFPMath = EnableNoSignedZerosFPMath;
|
Options.NoSignedZerosFPMath = EnableNoSignedZerosFPMath;
|
||||||
Options.NoTrappingFPMath = EnableNoTrappingFPMath;
|
Options.NoTrappingFPMath = EnableNoTrappingFPMath;
|
||||||
Options.FPDenormalMode = DenormalMode;
|
Options.FPDenormalMode = DenormalFPMath;
|
||||||
Options.HonorSignDependentRoundingFPMathOption =
|
Options.HonorSignDependentRoundingFPMathOption =
|
||||||
EnableHonorSignDependentRoundingFPMath;
|
EnableHonorSignDependentRoundingFPMath;
|
||||||
if (FloatABIForCalls != FloatABI::Default)
|
if (FloatABIForCalls != FloatABI::Default)
|
||||||
|
Loading…
Reference in New Issue
Block a user