[PATCH] D38732: [X86][AVX512] Improve lowering of AVX512 test intrinsics

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 11 14:28:13 PDT 2017


craig.topper added inline comments.


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:17186
+  //  See if it is the case of CMP(EQ|NEQ,AND(A,B),ZERO) and change it to TESTM|NM.
+  if((!Opc && SSECC == 4) || Opc == X86ISD::PCMPEQM) {
+    SDValue A = peekThroughBitcasts(Op0);
----------------
Add a space between "if" and opening paren.


https://reviews.llvm.org/D38732





More information about the llvm-commits mailing list