[PATCH] D154205: [MachineLICM] Handle subloops

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 18 02:02:03 PDT 2023


dmgreen added a comment.

I think it would still be invalid to access MI.getParent if MI has been erased. It would be a use after delete. From looking at the old logic it appeared to run UpdateRegPressure only if Hoist was false. Can we do the same thing here?


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

https://reviews.llvm.org/D154205



More information about the llvm-commits mailing list