[llvm] [LV] Add initial legality checks for loops with unbound loads. (PR #152422)
Shih-Po Hung via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 27 22:51:33 PDT 2025
================
@@ -843,6 +843,10 @@ class TargetTransformInfo {
/// Return true if the target supports strided load.
LLVM_ABI bool isLegalStridedLoadStore(Type *DataType, Align Alignment) const;
+ /// Return true if the target supports fault-only-first load.
+ LLVM_ABI bool isLegalFaultOnlyFirstLoad(Type *DataType,
----------------
arcbbb wrote:
I hadn’t anticipated a generic lowering for vp.load.ff. I’ll move to cost-based approach and see how it integrate with VPlan.
https://github.com/llvm/llvm-project/pull/152422
More information about the llvm-commits
mailing list