[all-commits] [llvm/llvm-project] 9681dc: [PowerPC] Exploit `vrl(b|h|w|d)` to perform vector...

bzEq via All-commits all-commits at lists.llvm.org
Sun Dec 22 19:06:59 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9681dc9627b1ea50fd90cdea84290ddc021d3fca
      https://github.com/llvm/llvm-project/commit/9681dc9627b1ea50fd90cdea84290ddc021d3fca
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2019-12-23 (Mon, 23 Dec 2019)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstrAltivec.td
    M llvm/test/CodeGen/PowerPC/funnel-shift-rot.ll
    A llvm/test/CodeGen/PowerPC/vector-rotates.ll

  Log Message:
  -----------
  [PowerPC] Exploit `vrl(b|h|w|d)` to perform vector rotation

Summary:
Currently, we set legalization action of `ISD::ROTL` vectors as
`Expand` in `PPCISelLowering`. However, we can exploit `vrl(b|h|w|d)`
to lower `ISD::ROTL` directly.

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




More information about the All-commits mailing list