[PATCH] D107859: [AMDGPU] MachineLICM cannot hoist VALU

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 27 10:54:22 PDT 2021


arsenm added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineLoopInfo.cpp:179
+            !(TRI->isCallerPreservedPhysReg(Reg.asMCReg(), *I.getMF())) &&
+            !MF->getSubtarget().getInstrInfo()->isIgnorableUse(MO))
           return false;
----------------
Should cache TII like TRI


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

https://reviews.llvm.org/D107859



More information about the llvm-commits mailing list