[llvm] [IndVarsSimplify] sinkUnusedInvariants is skipping instructions while sinking. (PR #135205)
    Sirish Pande via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Apr 17 11:23:10 PDT 2025
    
    
  
srpande wrote:
> The iterator handling here is super convoluted. The isDebugOrPseudoInst checks should be dropped entirely. For the rest, can this be expressed in terms of reverse(make_early_inc_range()) instead?
Sure. Adding another patch. I initially wanted to change the loop, but at the same time did not want to be too invasive. 
https://github.com/llvm/llvm-project/pull/135205
    
    
More information about the llvm-commits
mailing list