[llvm] [RISCV] Support `llvm.masked.compressstore` intrinsic (PR #83457)
Yeting Kuo via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 6 19:02:56 PST 2024
================
@@ -1620,3 +1620,15 @@ bool RISCVTTIImpl::isLSRCostLess(const TargetTransformInfo::LSRCost &C1,
C2.NumIVMuls, C2.NumBaseAdds,
C2.ScaleCost, C2.ImmCost, C2.SetupCost);
}
+
+bool RISCVTTIImpl::isLegalMaskedCompressStore(Type *DataTy, Align Alignment) {
----------------
yetingk wrote:
I think we need to check whether the fixed vector type is legal like isLegalMaskedLoadStore().
https://github.com/llvm/llvm-project/pull/83457
More information about the llvm-commits
mailing list