[all-commits] [llvm/llvm-project] 24bc5f: [RISCV] Replace std::string with StringRef in RISC...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Mar 29 22:24:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24bc5f3f3104a48351b95516ec5a9e6773c6da4a
      https://github.com/llvm/llvm-project/commit/24bc5f3f3104a48351b95516ec5a9e6773c6da4a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M llvm/lib/Support/RISCVISAInfo.cpp

  Log Message:
  -----------
  [RISCV] Replace std::string with StringRef in RISCVISAInfo. NFC

We're just slicing off part of an existing StringRef. No need to
allocate any new storage.




More information about the All-commits mailing list