[PATCH] D155073: [LSR] Don't consider users of constant outside loop

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 02:00:35 PDT 2023


dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.

Sounds OK to me. If you are changing all Constant's it might be worth adding a test for globals too, they are likely to be more common. I believe the same logic should apply to them too.


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

https://reviews.llvm.org/D155073



More information about the llvm-commits mailing list