[all-commits] [llvm/llvm-project] 1b1539: [PowerPC] Do not RAUW combined nodes in VECTOR_SHU...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Mon Jul 6 20:11:03 PDT 2020


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

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

  Log Message:
  -----------
  [PowerPC] Do not RAUW combined nodes in VECTOR_SHUFFLE legalization

When legalizing shuffles, we make an attempt to combine it into
a PPC specific canonical form that avoids a need for a swap. If the
combine is successful, we RAUW the node and the custom legalization
replaces the now dead node instead of the one it should replace.
Remove that erroneous call to RAUW.




More information about the All-commits mailing list