[llvm] [PowerPC] Exploit xxeval instruction for operations of the form ternary(A,X,B) and ternary(A,X,C). (PR #152956)
Tony Varghese via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 05:35:41 PDT 2025
tonykuttai wrote:
The following patterns:
- `ternary(A, C, B)`
- `ternary(A, not(C), B)`
- `ternary(A, B, C)`
- `ternary(A, not(B), C)`
patterns are not considered as the current `xxsel` (3 Cycle instruction) variants perform better than `xxeval` (4 cycle instruction) for this patterns.
https://github.com/llvm/llvm-project/pull/152956
More information about the llvm-commits
mailing list