[all-commits] [llvm/llvm-project] edbf39: [CodeGenPrepare] Use const reference to avoid unne...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed May 11 12:08:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edbf390d10b86962774c920cfab089fa1fd1c3f5
      https://github.com/llvm/llvm-project/commit/edbf390d10b86962774c920cfab089fa1fd1c3f5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-05-11 (Wed, 11 May 2022)

  Changed paths:
    M llvm/lib/CodeGen/CodeGenPrepare.cpp

  Log Message:
  -----------
  [CodeGenPrepare] Use const reference to avoid unnecessary APInt copy. NFC

Spotted while looking at Matthias' patches.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D124985




More information about the All-commits mailing list