[all-commits] [llvm/llvm-project] cc3faf: [SelectionDAG] Rename CallSiteDbgInfo to NodeExtra...

Marco Elver via All-commits all-commits at lists.llvm.org
Tue Sep 6 07:34:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc3faf422694201bc89bcfefa58722402f26b63d
      https://github.com/llvm/llvm-project/commit/cc3faf422694201bc89bcfefa58722402f26b63d
  Author: Marco Elver <elver at google.com>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

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

  Log Message:
  -----------
  [SelectionDAG] Rename CallSiteDbgInfo to NodeExtraInfo

For information infrequently attached to SDNodes, it is useful to
provide a way to add this information out-of-line. This is already done
for call-site specific information.

Rename CallSiteDbgInfo to NodeExtraInfo in preparation of adding
additional information not necessarily related to call sites only.

Reviewed By: vitalybuka

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


  Commit: 7d63983c65f9ad8439fc51ac70fc9cd215a94cff
      https://github.com/llvm/llvm-project/commit/7d63983c65f9ad8439fc51ac70fc9cd215a94cff
  Author: Marco Elver <elver at google.com>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp

  Log Message:
  -----------
  [SelectionDAG] Properly copy ExtraInfo on RAUW

During SelectionDAG legalization SDNodes with associated extra info may
be replaced with a new SDNode. Preserve associated extra info on
ReplaceAllUsesWith and remove entries in DeallocateNode.

Reviewed By: vitalybuka

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


Compare: https://github.com/llvm/llvm-project/compare/2090e85fee9b...7d63983c65f9


More information about the All-commits mailing list