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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 10 22:19:21 PDT 2017


craig.topper added inline comments.


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:17188
+    SDValue A = peekThroughBitcasts(Op0);
+    SDValue B = peekThroughBitcasts(Op1);
+    APInt C;
----------------
isBuildVectorAllZeros already peeks through bitcasts so you can just check on Op1 directly.


https://reviews.llvm.org/D38732





More information about the llvm-commits mailing list