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

Amaury SECHET via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 15:54:27 PDT 2019


deadalnix created this revision.
deadalnix added reviewers: craig.topper, efriedma, RKSimon, lebedev.ri.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

It ensures that the bswap is generated even when a part of the subtree already matches a bswap transform.


Repository:
  rL LLVM

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.222511.patch
Type: text/x-patch
Size: 4274 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190930/02f1455e/attachment.bin>


More information about the llvm-commits mailing list