[PATCH] D149587: InstSimplify: Simplifications for ldexp

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 07:30:44 PDT 2023


arsenm updated this revision to Diff 539092.
arsenm added a comment.

Drop dead code, add strictfp and FMF todo. I looked into merging with simplifyFPOp, but it would multiply the complexity of the patch. I also don't necessarily agree we have adequate information to fold these given denormal input exceptions exist and the denormal mode is dynamically changeable


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

https://reviews.llvm.org/D149587

Files:
  llvm/lib/Analysis/ConstantFolding.cpp
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/test/Transforms/InstCombine/AMDGPU/ldexp.ll
  llvm/test/Transforms/InstCombine/ldexp.ll
  llvm/test/Transforms/InstSimplify/ldexp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149587.539092.patch
Type: text/x-patch
Size: 51453 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230711/5ca30d5c/attachment.bin>


More information about the llvm-commits mailing list