[all-commits] [llvm/llvm-project] 46b4ca: [NFC][PowerPC] Pre-commit testcases for locking do...

Tony Varghese via All-commits all-commits at lists.llvm.org
Thu Jul 3 08:23:23 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46b4ca8e9869ad6e51b9d22bb08e32b37ccff03a
      https://github.com/llvm/llvm-project/commit/46b4ca8e9869ad6e51b9d22bb08e32b37ccff03a
  Author: Tony Varghese <tonypalampalliyil at gmail.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M llvm/test/CodeGen/PowerPC/xxeval-vselect-x-and.ll
    M llvm/test/CodeGen/PowerPC/xxeval-vselect-x-b.ll
    M llvm/test/CodeGen/PowerPC/xxeval-vselect-x-c.ll
    M llvm/test/CodeGen/PowerPC/xxeval-vselect-x-or.ll
    M llvm/test/CodeGen/PowerPC/xxeval-vselect-x-xor.ll

  Log Message:
  -----------
  [NFC][PowerPC] Pre-commit testcases for locking down the xxsel instructions for ternary patterns (#146764)

Pre-commit test case for exploitation of `xxsel` for ternary operations
of the pattern. This adds support for `v4i32`, `v2i64`, `v16i8` and
`v8i16` operand types for the following patterns.

```
ternary(A, X, and(B,C))
ternary(A, X, B)
ternary(A, X, C)
ternary(A, X, xor(B,C))
ternary(A,X,or(B,C))
```
Exploitation of xxeval to be added later.

Co-authored-by: Tony Varghese <tony.varghese at ibm.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list