[all-commits] [llvm/llvm-project] e1872c: [RISCV] Make RISCVOperand struct final.

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Jan 29 18:47:10 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1872c587373f32905e21bf8df200aa183165e80
      https://github.com/llvm/llvm-project/commit/e1872c587373f32905e21bf8df200aa183165e80
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-01-29 (Sun, 29 Jan 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp

  Log Message:
  -----------
  [RISCV] Make RISCVOperand struct final.

Allows the compiler to de-virtualize some calls.


  Commit: 13e3bdef3bc2e1d222aa26f77c7219419ecb7eaf
      https://github.com/llvm/llvm-project/commit/13e3bdef3bc2e1d222aa26f77c7219419ecb7eaf
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-01-29 (Sun, 29 Jan 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp

  Log Message:
  -----------
  [RISCV] Correct end pointer in RISCVAsmParser::parseGPRAsFPR.

Instead of using start pointer - 1, use start pointer + length of
the name string.


  Commit: d178bd2caf079b694d94b3fc94b1b83e25568ecd
      https://github.com/llvm/llvm-project/commit/d178bd2caf079b694d94b3fc94b1b83e25568ecd
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-01-29 (Sun, 29 Jan 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp

  Log Message:
  -----------
  [RISCV] Move IsRV64 field of RISCVOperand into RegOp and ImmOp sub-structs.

We don't need this field for all operand types, so sync it into the
ones that do need it. Then remove it from the create* functions that
don't need it.


Compare: https://github.com/llvm/llvm-project/compare/0c7f1c152021...d178bd2caf07


More information about the All-commits mailing list