[llvm] [X86] ptest is commutable as long as only the Z flag is used. (PR #88969)

Alex Guteniev via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 02:54:12 PDT 2024


================
@@ -5737,6 +5755,13 @@ multiclass avx_bittest<bits<8> opc, string OpcodeStr, RegisterClass RC,
             Sched<[sched.Folded, sched.ReadAfterFold]>, VEX;
 }
 
+// ptest is commutable if only the Z flag is used. If the C flag is used,
----------------
AlexGuteniev wrote:

`testp`

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


More information about the llvm-commits mailing list