[PATCH] D154805: [DAGCombiner] Fold IEEE `fmul`/`fdiv` by Pow2 to `add`/`sub` of exp

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 11:28:55 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG47c642f9a0e9: [DAGCombiner] Fold IEEE `fmul`/`fdiv` by Pow2 to `add`/`sub` of exp (authored by goldstein.w.n).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154805/new/

https://reviews.llvm.org/D154805

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.h
  llvm/test/CodeGen/AMDGPU/fold-int-pow2-with-fmul-or-fdiv.ll
  llvm/test/CodeGen/X86/fold-int-pow2-with-fmul-or-fdiv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154805.557131.patch
Type: text/x-patch
Size: 148024 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230920/f0922b1d/attachment.bin>


More information about the llvm-commits mailing list