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
// 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) {
// 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;