================ @@ -1347,6 +1354,11 @@ class TargetTransformInfo { PartialReductionExtendKind OpBExtend, std::optional<unsigned> BinOp, TTI::TargetCostKind CostKind) const; + /// \return true if a mask should be formed that disables lanes that could + /// alias between two pointers. The mask is created by the + /// loop_dependence_{war,raw}_mask intrinsics. + LLVM_ABI bool useSafeEltsMask(ElementCount VF) const; ---------------- fhahn wrote:
Could we just check the cost of the new intrinsic using the existing hooks? https://github.com/llvm/llvm-project/pull/100579 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits