[llvm] [X86] Generate `kmov` for masking integers (PR #120593)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 23 03:57:06 PST 2025


================
@@ -0,0 +1,150 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=x86-64-v4 | FileCheck %s
+
+define <16 x i1> @mask_16(i32 %mask) {
----------------
RKSimon wrote:

All these tests are for i32 masks - we need a mixture of i8/i16/i32/i64 tests - preferably across 128/256/512 vectors as well - not need for full duplication, but you do need to make sure you testing all possibly legal types properly.

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


More information about the llvm-commits mailing list