[all-commits] [llvm/llvm-project] 40aa39: [Sparc] Change register spelling to lowercase (NFC...

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Thu Sep 7 01:01:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40aa39d50c88c278ab2be044a03582650f8a68ab
      https://github.com/llvm/llvm-project/commit/40aa39d50c88c278ab2be044a03582650f8a68ab
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

  Changed paths:
    M llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
    M llvm/lib/Target/Sparc/Sparc.td
    M llvm/lib/Target/Sparc/SparcRegisterInfo.td

  Log Message:
  -----------
  [Sparc] Change register spelling to lowercase (NFC) (#65464)

This change allows to simplify SparcAsmParser a bit by delegating some
work (parsing singleton registers) to the code generated by llvm-tblgen.
Other than that, there is no functionality change, because registers are
matched using custom code in SparcAsmParser.cpp and always printed in
lowercase by SparcInstPrinter.




More information about the All-commits mailing list