[all-commits] [llvm/llvm-project] dad5f0: [DAGCombine] Combine pattern for REV16

sjoerdmeijer via All-commits all-commits at lists.llvm.org
Mon Feb 17 06:54:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dad5f00e3b4d437fc1247d2d84efee924ae13201
      https://github.com/llvm/llvm-project/commit/dad5f00e3b4d437fc1247d2d84efee924ae13201
  Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
  Date:   2020-02-17 (Mon, 17 Feb 2020)

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

  Log Message:
  -----------
  [DAGCombine] Combine pattern for REV16

This adds another pattern to the combiner for a case that we were not handling
to generate the REV16 instruction for ARM/Thumb2 and a bswap+ror on X86.

Differential Revision: https://reviews.llvm.org/D74032




More information about the All-commits mailing list