[all-commits] [llvm/llvm-project] 9d792f: [RISCV] Remove unnecessary APInt copy. NFC

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Jan 20 10:39:49 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d792fef577843b213aa11954820512942dc31c7
      https://github.com/llvm/llvm-project/commit/9d792fef577843b213aa11954820512942dc31c7
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-01-20 (Wed, 20 Jan 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Remove unnecessary APInt copy. NFC

getAPIntValue returns a const APInt& so keep it as a reference.




More information about the All-commits mailing list