[all-commits] [llvm/llvm-project] 2e470e: [PowerPC][Power10] Fix XXSPLI32DX not correctly ex...

Conanap via All-commits all-commits at lists.llvm.org
Thu Jan 28 12:18:04 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e470e03b49f1d79ebc315ca9d62a690a633c0cd
  Author: Albion Fung <conanap at lep82435v.canlab.ibm.com>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/p10-splatImm32.ll

  Log Message:
  [PowerPC][Power10] Fix XXSPLI32DX not correctly exploiting specific cases

Some cases may be transformed into 32 bit splats before hitting the boolean statement, which may cause incorrect behaviour and provide XXSPLTI32DX with the incorrect values of splat. The condition was reversed so that the shortcut prevents this problem.

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

More information about the All-commits mailing list