[all-commits] [llvm/llvm-project] d91b5b: [DAG] foldConstantFPMath - use APFloat& for read-o...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Dec 17 04:34:22 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d91b5b0f57d8b7cd0c05a2103c913aa1844fc667
      https://github.com/llvm/llvm-project/commit/d91b5b0f57d8b7cd0c05a2103c913aa1844fc667
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

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

  Log Message:
  -----------
  [DAG] foldConstantFPMath - use APFloat& for read-only constant fold arg. NFC.

We just need to copy the 1st arg (which we use for the constant fold result) - use a cheaper const reference for the 2nd arg.




More information about the All-commits mailing list