[PATCH] D42772: [X86] Allow KORTEST instruction to be used for testing if a mask is all ones

Guy Blank via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 07:06:56 PST 2018


guyblank accepted this revision.
guyblank added inline comments.
This revision is now accepted and ready to land.


================
Comment at: test/CodeGen/X86/avx512-mask-op.ll:2839
 
+; Make sure we can use the C flag from ktest to check for all ones.
+define void @ktest_allones(<16 x i32> %x, <16 x i32> %y) {
----------------
ktest->kortest


https://reviews.llvm.org/D42772





More information about the llvm-commits mailing list