[all-commits] [llvm/llvm-project] d704c7: [RISCV] Move some RISCVLoadFPImm out of line. NFC

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Mar 9 23:23:02 PST 2023


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

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h

  Log Message:
  -----------
  [RISCV] Move some RISCVLoadFPImm out of line. NFC

This moves the LoadFPImmArr array to the cpp file. Being in the header
meant it was duplicated in every translation unit that includes the
header.

Move the 2 functions that use the array out of line.




More information about the All-commits mailing list