[PATCH] D18444: AVX-512: Generate KTEST instead of TEST

Igor Breger via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 24 06:15:14 PDT 2016


igorb accepted this revision.
igorb added a comment.
This revision is now accepted and ready to land.

please check the comment

LGTM


================
Comment at: ../lib/Target/X86/X86ISelLowering.cpp:14528
@@ +14527,3 @@
+      unsigned SizeInBits = VT.getSizeInBits();
+      return (Subtarget.hasDQI() && (SizeInBits == 8 || SizeInBits == 8)) ||
+        (Subtarget.hasBWI() && (SizeInBits == 32 || SizeInBits == 64));
----------------
i think you mean SizeInBits == 8 || SizeInBits == 16


Repository:
  rL LLVM

http://reviews.llvm.org/D18444





More information about the llvm-commits mailing list