[PATCH] D150765: InstCombine: Fold select of ldexp to ldexp of select

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 18 05:11:47 PDT 2023


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

Move to foldSelectOpOp, which has slightly more liberal hasOneUse checks


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

https://reviews.llvm.org/D150765

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/ldexp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150765.523347.patch
Type: text/x-patch
Size: 19719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230518/9aa6583e/attachment.bin>


More information about the llvm-commits mailing list