[llvm] [TTI] Add alignment argument to TTI for compress/expand support (PR #83516)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 29 18:15:15 PST 2024


================
@@ -1609,3 +1609,28 @@ bool RISCVTTIImpl::isLSRCostLess(const TargetTransformInfo::LSRCost &C1,
                   C2.NumIVMuls, C2.NumBaseAdds,
                   C2.ScaleCost, C2.ImmCost, C2.SetupCost);
 }
+
+bool RISCVTTIImpl::isLegalMaskedCompressStore(Type *DataTy, Align Alignment) {
----------------
topperc wrote:

I think this belongs in the patch that adds the RISCVISelLowering support. It's not legal for RISC-V without that.

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


More information about the llvm-commits mailing list