[all-commits] [llvm/llvm-project] c27734: [PowerPC] Fix load/store selection infrastructure ...

Amy Kwan via All-commits all-commits at lists.llvm.org
Thu Dec 2 13:59:44 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c27734c183707247b43b215d3cf55c3dbc60ef5d
      https://github.com/llvm/llvm-project/commit/c27734c183707247b43b215d3cf55c3dbc60ef5d
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/lxvw4x-bug.ll
    M llvm/test/CodeGen/PowerPC/swaps-le-8.ll
    M llvm/test/CodeGen/PowerPC/vsx-ldst-builtin-le.ll
    M llvm/test/CodeGen/PowerPC/vsx_builtins.ll

  Log Message:
  -----------
  [PowerPC] Fix load/store selection infrastructure when load/store intrinsics are used on P10.

The load/store infrastructure previously made an incorrect assumption that
whenever it is used with a load/store intrinsic on Power10 - those intrinsics
would automatically be the lxvp/stxvp intrinsics introduced in Power10.

However, this is obviously not the case as there are multiple instances of
pre-P10 intrinsics that use the refactored load/store implementation.
This patch corrects this assumption, and produces the expected intrinsic on pre-P10.

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




More information about the All-commits mailing list