[llvm] [RISCV] Support `llvm.masked.compressstore` intrinsic (PR #83457)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 19:21:15 PST 2024


================
@@ -0,0 +1,15266 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
+; RUN: llc -verify-machineinstrs -mtriple=riscv64 -mattr=+v,+d %s -o - | FileCheck %s --check-prefix=RV64
+; RUN: llc -verify-machineinstrs -mtriple=riscv32 -mattr=+v,+d %s -o - | FileCheck %s --check-prefix=RV32
+
+; Compress + store for i8 type
+
+define void @test_compresstore_i8_v1(ptr %p, <1 x i1> %mask, <1 x i8> %data) {
----------------
lukel97 wrote:

Nit usually the vectors in a test name use the MVT naming, e.g. `v1i8`/`nxv2i32`

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


More information about the llvm-commits mailing list