ruiling wrote: > Code change looks good to me -- is it possible to add a test for this? Add one test through licm. The load was not hoisted before. https://github.com/llvm/llvm-project/pull/95752