[PATCH] D74032: [DAGCombine][ARM] Combine pattern for REV16

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 17 05:21:42 PST 2020


SjoerdMeijer updated this revision to Diff 244946.
SjoerdMeijer added a comment.

Fixed the off-by-1 error in the variable naming, and added `hasOneUse` checks for the AND instructions.


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

https://reviews.llvm.org/D74032

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/Thumb2/thumb2-rev16.ll
  llvm/test/CodeGen/X86/rev16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74032.244946.patch
Type: text/x-patch
Size: 8975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200217/0cba26ee/attachment.bin>


More information about the llvm-commits mailing list