summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetRecip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/TargetRecip.cpp')
-rw-r--r--llvm/lib/Target/TargetRecip.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/TargetRecip.cpp b/llvm/lib/Target/TargetRecip.cpp
index 97662f72afe..183fa5062ea 100644
--- a/llvm/lib/Target/TargetRecip.cpp
+++ b/llvm/lib/Target/TargetRecip.cpp
@@ -156,9 +156,10 @@ void TargetRecip::parseIndividualParams(const std::vector<std::string> &Args) {
// If the precision was not specified, the double entry is also initialized.
if (Val.back() != 'f' && Val.back() != 'd') {
- RecipMap[Val.str() + 'd'].Enabled = !IsDisabled;
+ RecipParams &Params = RecipMap[Val.str() + 'd'];
+ Params.Enabled = !IsDisabled;
if (!RefStepString.empty())
- RecipMap[Val.str() + 'd'].RefinementSteps = RefSteps;
+ Params.RefinementSteps = RefSteps;
}
}
}
OpenPOWER on IntegriCloud