[all-commits] [llvm/llvm-project] 28e322: [PowerPC] Custom lowering for funnel shifts

jayfoad via All-commits all-commits at lists.llvm.org
Tue Aug 4 08:31:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 28e322ea9393e6b3841886006dd170ddd810fd9b
      https://github.com/llvm/llvm-project/commit/28e322ea9393e6b3841886006dd170ddd810fd9b
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-08-04 (Tue, 04 Aug 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.h
    M llvm/test/CodeGen/PowerPC/funnel-shift.ll
    M llvm/test/CodeGen/PowerPC/pr44183.ll

  Log Message:
  -----------
  [PowerPC] Custom lowering for funnel shifts

The custom lowering saves an instruction over the generic expansion, by
taking advantage of the fact that PowerPC shift instructions are well
defined in the shift-by-bitwidth case.

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




More information about the All-commits mailing list