[llvm] [PowerPC] Exploit xxeval instruction for operations of the form ternary(A, X, nor(B,C)), ternary(A, X, eqv(B,C)), ternary(A, X, nand(B,C)), ternary(A, X, not(B)) and ternary(A, X, not(C)) (PR #158096)

Lei Huang via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 19 08:34:54 PDT 2025


================
@@ -2438,7 +2622,12 @@ let Predicates = [PrefixInstrs, HasP10Vector] in {
     foreach Ty = [v4i32, v2i64, v8i16, v16i8] in {
         defm : XXEvalTernarySelectAnd<Ty>;
         defm : XXEvalTernarySelectB<Ty>;
-        defm : XXEvalTernarySelectC<Ty>; 
+        defm : XXEvalTernarySelectC<Ty>;
----------------
lei137 wrote:

Is this meant to be a stacked PR?  This seem to already be in [[PowerPC] Exploit xxeval instruction for operations of the form ternary(A,X, XOR(B,C)) and ternary(A,X, OR(B,C))](https://github.com/llvm/llvm-project/pull/157909/files#top)

https://github.com/llvm/llvm-project/pull/158096


More information about the llvm-commits mailing list