[all-commits] [llvm/llvm-project] 57ad8f: [PowerPC] Don't combine SCALAR_TO_VECTOR without VSX

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Mon Jun 29 07:49:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 57ad8f4730c982813c6f4672c45f4b73f0f0d79f
      https://github.com/llvm/llvm-project/commit/57ad8f4730c982813c6f4672c45f4b73f0f0d79f
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-06-29 (Mon, 29 Jun 2020)

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

  Log Message:
  -----------
  [PowerPC] Don't combine SCALAR_TO_VECTOR without VSX

Most of the patterns for PPCISD::SCALAR_TO_VECTOR_PERMUTED require
VSX. So don't emit them if the subtarget doesn't have VSX.
This resolves the issue reported on
https://reviews.llvm.org/rG1fed131660b2c5d3ea7007e273a7a5da80699445




More information about the All-commits mailing list