[all-commits] [llvm/llvm-project] ce4040: [PPC] Check for PPC64 when emitting 64bit specific...

Zarko Todorovski via All-commits all-commits at lists.llvm.org
Sat Dec 12 12:29:02 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce4040a43d54b45c924b109d0e44f0064937e539
      https://github.com/llvm/llvm-project/commit/ce4040a43d54b45c924b109d0e44f0064937e539
  Author: Zarko Todorovski <zarko at ca.ibm.com>
  Date:   2020-12-12 (Sat, 12 Dec 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td
    A llvm/test/CodeGen/PowerPC/ppc-32bit-build-vector.ll

  Log Message:
  -----------
  [PPC] Check for PPC64 when emitting 64bit specific VSX nodes when pattern matching built vectors

Some of the pattern matching in PPCInstrVSX.td and node lowering involving vectors assumes 64bit mode.  This patch disables some of the unsafe pattern matching and lowering of BUILD_VECTOR in 32bit mode.

Reviewed By: Xiangling_L

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




More information about the All-commits mailing list