[PATCH] D68250: [DAGCombine] Match more patterns for half word bswap

Amaury SECHET via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 04:34:49 PDT 2019


deadalnix updated this revision to Diff 222800.
deadalnix marked an inline comment as done.
deadalnix added a comment.

Use isConstOrConstSplat and getAPIntValue


Repository:
  rL LLVM

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

https://reviews.llvm.org/D68250

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/bswap_tree.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68250.222800.patch
Type: text/x-patch
Size: 4270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191002/7a969505/attachment.bin>


More information about the llvm-commits mailing list