[all-commits] [llvm/llvm-project] 6a06db: [PowerPC] Disable permuted SCALAR_TO_VECTOR on LE ...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Wed Jul 7 11:51:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a06dbafa14e3bdd8eef604254e8acea8f513b2c
      https://github.com/llvm/llvm-project/commit/6a06dbafa14e3bdd8eef604254e8acea8f513b2c
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-07-07 (Wed, 07 Jul 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/canonical-merge-shuffles.ll
    M llvm/test/CodeGen/PowerPC/pr47916.ll

  Log Message:
  -----------
  [PowerPC] Disable permuted SCALAR_TO_VECTOR on LE without direct moves

There are some patterns involving the permuted scalar to vector node
for which we don't have patterns without direct moves on little endian
subtargets. This causes selection errors. While we can of course add
the missing patterns, any additional effort to make this work is not
useful since there is no support for any CPU that can run in
little endian mode and does not support direct moves.




More information about the All-commits mailing list