[PATCH] D128681: [AMDGPU][ScheduleDAG] Check for CopyToReg PhysReg clobbers in pre-RA-sched

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 28 12:43:18 PDT 2022


rampitec added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp:1311
+    // Allow multiple uses of same def
+    if (Node && LiveRegDefs[*AliasI]->getNode() == Node)
+      continue;
----------------
Do you really want to insert it if Node is nullptr?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128681/new/

https://reviews.llvm.org/D128681



More information about the llvm-commits mailing list