https://github.com/jeanPerier commented: Thanks for working on this Slava! I have a few concerns with the identification of loads that can be safely hoisted, otherwise this looks great. https://github.com/llvm/llvm-project/pull/173438