[PATCH] D149699: [InstCombine] Improve bswap optimization

Austin Chang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 11:01:58 PDT 2023


austin880625 updated this revision to Diff 520444.
austin880625 added a comment.

Add explicit check for BinaryOperator and add ConstExpr test case


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

https://reviews.llvm.org/D149699

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/test/Transforms/InstCombine/bswap-fold.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149699.520444.patch
Type: text/x-patch
Size: 13968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230508/ba90ce37/attachment.bin>


More information about the llvm-commits mailing list