[PATCH] D67450: AMDGPU: Move m0 initializations earlier

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 11:57:23 PDT 2019


rampitec added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp:614
+      for (unsigned I = 0; R != B && I < Threshold; ++R, ++I)
+        if (R->readsRegister(Reg) || R->definesRegister(Reg) ||
+            TII->isSchedulingBoundary(*R, MBB, *MBB->getParent()))
----------------
Pass TRI into these two calls.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67450





More information about the llvm-commits mailing list