[RISCV][NFC] Add a newline when using --print-enabled-extensions (#98425)

The `--print-enabled-extensions` has been introduced in the
https://github.com/llvm/llvm-project/pull/98207 , but it seems to be
missing a newline in the end.
This commit is contained in:
Shao-Ce SUN 2024-07-11 12:43:14 +08:00 committed by GitHub
parent a92bcb20b8
commit cd6750fa5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -151,7 +151,7 @@ void RISCVISAInfo::printEnabledExtensions(
unsigned XLen = IsRV64 ? 64 : 32;
if (auto ISAString = RISCVISAInfo::createFromExtMap(XLen, FullExtMap))
outs() << "\nISA String: " << ISAString.get()->toString();
outs() << "\nISA String: " << ISAString.get()->toString() << "\n";
}
static bool stripExperimentalPrefix(StringRef &Ext) {

View File

@ -1081,7 +1081,8 @@ R"(Extensions enabled for the given RISC-V target
Experimental extensions
zicfilp 0.4 'Zicfilp' (Landing pad)
ISA String: rv64i2p1_zicfilp0p4_zicsr2p0)";
ISA String: rv64i2p1_zicfilp0p4_zicsr2p0
)";
// clang-format on
StringMap<StringRef> DescMap;