Replace | char of SystemZ insn enums

This commit is contained in:
Rot127 2024-08-26 05:12:09 -05:00 committed by Rot127
parent ca07088b26
commit 830c7a8e6f

View File

@ -2601,6 +2601,7 @@ static inline std::string normalizedMnemonic(StringRef const &Mn,
const bool Upper = true) { const bool Upper = true) {
auto Mnemonic = Upper ? Mn.upper() : Mn.str(); auto Mnemonic = Upper ? Mn.upper() : Mn.str();
std::replace(Mnemonic.begin(), Mnemonic.end(), '.', '_'); std::replace(Mnemonic.begin(), Mnemonic.end(), '.', '_');
std::replace(Mnemonic.begin(), Mnemonic.end(), '|', '_');
std::replace(Mnemonic.begin(), Mnemonic.end(), '+', 'p'); std::replace(Mnemonic.begin(), Mnemonic.end(), '+', 'p');
std::replace(Mnemonic.begin(), Mnemonic.end(), '-', 'm'); std::replace(Mnemonic.begin(), Mnemonic.end(), '-', 'm');
std::replace(Mnemonic.begin(), Mnemonic.end(), '/', 's'); std::replace(Mnemonic.begin(), Mnemonic.end(), '/', 's');