mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-13 03:21:07 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284826 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3398735496
commit
73cda08c45
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user