[all-commits] [llvm/llvm-project] 1150bf: [PowerPC] Add missing negate for VPERMXOR on littl...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Mon Jan 25 10:24:12 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1150bfa6bb099f9a85a140f66fde7b7f7aa54e60
      https://github.com/llvm/llvm-project/commit/1150bfa6bb099f9a85a140f66fde7b7f7aa54e60
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrAltivec.td
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td
    M llvm/test/CodeGen/PowerPC/crypto_bifs.ll

  Log Message:
  -----------
  [PowerPC] Add missing negate for VPERMXOR on little endian subtargets

This intrinsic is supposed to have the permute control vector complemented on
little endian systems (as the ABI specifies and GCC implements). With the
current code gen, the result vector is byte-reversed.

Differential revision: https://reviews.llvm.org/D95004




More information about the All-commits mailing list