[all-commits] [llvm/llvm-project] b8ffbf: [DAG] TargetLowering::expandMUL_LOHI - pass SDLoc ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Aug 2 07:34:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b8ffbf0e02e24d7be3017c8ee5f17dab9e39719f
      https://github.com/llvm/llvm-project/commit/b8ffbf0e02e24d7be3017c8ee5f17dab9e39719f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-08-02 (Sun, 02 Aug 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

  Log Message:
  -----------
  [DAG] TargetLowering::expandMUL_LOHI - pass SDLoc as const&

Try to be more consistent with the SDLoc param in the TargetLowering methods.

This also exposes an issue where we were passing a SDNode as a SDLoc, relying on the implicit SDLoc(SDNode) constructor.




More information about the All-commits mailing list