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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 02:50:20 PDT 2023


arsenm created this revision.
arsenm added reviewers: jcranmer-intel, foad, nhaehnle, kpn, sepavloff, andrew.w.kaylor, cameron.mcinally.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

The select-of-different-exp pattern appears in the device
libraries. I haven't seen the select-of-values case.


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.522975.patch
Type: text/x-patch
Size: 14345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230517/faec7dd7/attachment.bin>


More information about the llvm-commits mailing list