arsenm wrote: > Standard question: Could you add/extend a mir file for showing the different > cases and should the erase be conditional on the type?
The type doesn't matter. The original load always has to be removed. This is only done for hasOneUse anyway https://github.com/llvm/llvm-project/pull/111730 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits