[PATCH] D154678: [InstCombine] Fold IEEE `fmul`/`fdiv` by Pow2 to `add`/`sub` of exp
    Noah Goldstein via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Jul  7 13:18:14 PDT 2023
    
    
  
goldstein.w.n added a comment.
> Can we unconditionally turn fdiv into fmul if the divisor is known to be an exact power of 2?
Not sure, best I can come up with just take reciprical.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154678/new/
https://reviews.llvm.org/D154678
    
    
More information about the llvm-commits
mailing list