[llvm] [InstCombine] Avoid breaking FMA pattern when hoisting freeze (PR #141934)
    Jay Foad via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu May 29 05:17:08 PDT 2025
    
    
  
jayfoad wrote:
I was going to ask about this on Discouse. The way that InstCombine moves freeze instructions seems a bit arbitrary to me. But adding extra checks like this, to avoid putting freeze in the middle of any pattern that _might_ be recognized by instruction selection, feels like even more of a hack.
https://github.com/llvm/llvm-project/pull/141934
    
    
More information about the llvm-commits
mailing list