[all-commits] [llvm/llvm-project] bc4a5b: [NFC] Use StringRef instead of const char* for Asm...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Fri Mar 12 05:39:57 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc4a5bdce4af82a5522869d8a154e9e15cf809df
      https://github.com/llvm/llvm-project/commit/bc4a5bdce4af82a5522869d8a154e9e15cf809df
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2021-03-12 (Fri, 12 Mar 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/AsmPrinter.h

  Log Message:
  -----------
  [NFC] Use StringRef instead of const char* for AsmPrinter

This avoids calling strlen to repeatedly compute some string size.




More information about the All-commits mailing list