summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-10-21 14:58:30 +0000
committerSanjay Patel <spatel@rotateright.com>2016-10-21 14:58:30 +0000
commit501be9b3d7eff577e2eef89f330e5f4ff01fe9d7 (patch)
tree483bf28128f1dbc7213b82d5d299736fdcbc03c6 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent751985a7577d320e0c757fca9ef6821d127f27a3 (diff)
downloadbcm5719-llvm-501be9b3d7eff577e2eef89f330e5f4ff01fe9d7.tar.gz
bcm5719-llvm-501be9b3d7eff577e2eef89f330e5f4ff01fe9d7.zip
fix variable names; NFCI
Because we're just 'or-ing' these 2 variables later in the code, I don't think there's a logical bug here, but of course the string with "no size" is the one that should have the size suffix stripped off. llvm-svn: 284826
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp
index 84d2256df49..410169788c8 100644
--- a/llvm/lib/CodeGen/TargetLoweringBase.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -1973,7 +1973,7 @@ static int getOpEnabled(bool IsSqrt, EVT VT, StringRef Override) {
// The attribute string may omit the size suffix ('f'/'d').
std::string VTName = getReciprocalOpName(IsSqrt, VT);
std::string VTNameNoSize = VTName;
- VTName.pop_back();
+ VTNameNoSize.pop_back();
static const char DisabledPrefix = '!';
for (StringRef RecipType : OverrideVector) {
@@ -2028,7 +2028,7 @@ static int getOpRefinementSteps(bool IsSqrt, EVT VT, StringRef Override) {
// The attribute string may omit the size suffix ('f'/'d').
std::string VTName = getReciprocalOpName(IsSqrt, VT);
std::string VTNameNoSize = VTName;
- VTName.pop_back();
+ VTNameNoSize.pop_back();
for (StringRef RecipType : OverrideVector) {
size_t RefPos;
OpenPOWER on IntegriCloud