[all-commits] [llvm/llvm-project] f7294a: [PowerPC] Remove extra swap for extract+vperm on LE

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Thu May 6 22:52:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7294ac8093a2fbd8c00254580eaac6c4e1f7b24
      https://github.com/llvm/llvm-project/commit/f7294ac8093a2fbd8c00254580eaac6c4e1f7b24
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2021-05-07 (Fri, 07 May 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td
    M llvm/test/CodeGen/PowerPC/vec_extract_p9.ll

  Log Message:
  -----------
  [PowerPC] Remove extra swap for extract+vperm on LE

This is a simple fix on LE. On BE, vector shuffles are categorized into
different ops. We may need more work to eliminate these in
tablegen/pre-isel.

Reviewed By: nemanjai

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




More information about the All-commits mailing list