[llvm] [SDAG][NVPTX] Cache control metadata support and lowering (PR #204067)
Yonah Goldberg via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 9 09:38:03 PDT 2026
================
@@ -1108,6 +1114,162 @@ bool NVPTXDAGToDAGISel::SelectADDR(SDValue Addr, SDValue &Base,
return true;
}
+static void emitInvalidMemCacheHint(LLVMContext &Ctx, const Twine &Msg) {
+ Ctx.diagnose(DiagnosticInfoGeneric(
+ Twine("invalid NVPTX !mem.cache_hint metadata: ") + Msg, DS_Warning));
+}
----------------
YonahGoldberg wrote:
mm yeah, I'd say this function is too small and specific to generalize.
https://github.com/llvm/llvm-project/pull/204067
More information about the llvm-commits
mailing list