[clang] [llvm] [AArch64] Add support for range prefetch intrinsic (PR #170490)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 23 07:05:34 PST 2025
================
@@ -536,6 +536,7 @@ def SDT_AArch64trivec : SDTypeProfile<1, 3, [SDTCisVec<0>, SDTCisSameAs<0,1>,
SDTCisSameAs<0,3>]>;
def SDT_AArch64TCRET : SDTypeProfile<0, 2, [SDTCisPtrTy<0>]>;
def SDT_AArch64PREFETCH : SDTypeProfile<0, 2, [SDTCisVT<0, i32>, SDTCisPtrTy<1>]>;
+def SDT_AArch64RANGE_PREFETCH: SDTypeProfile<0, 3, [SDTCisVT<0, i32>, SDTCisPtrTy<1>, SDTCisPtrTy<2>]>;
----------------
paulwalker-arm wrote:
Should the metadata operand be `SDTCisVT<2, i64>` rather than `PtrTy`? I assume the current form works because the two are synonymous, but best not to rely on that.
https://github.com/llvm/llvm-project/pull/170490
More information about the llvm-commits
mailing list