[clang] [llvm] BPF address space insn (PR #84410)

Yingchi Long via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 00:26:22 PST 2024


================
@@ -31,6 +31,9 @@ def SDT_BPFMEMCPY       : SDTypeProfile<0, 4, [SDTCisVT<0, i64>,
                                                SDTCisVT<1, i64>,
                                                SDTCisVT<2, i64>,
                                                SDTCisVT<3, i64>]>;
+def SDT_BPFAddrSpaceCast : SDTypeProfile<0, 3, [SDTCisPtrTy<0>,
----------------
inclyc wrote:

(question) Why not just use the common "addrspacecast" ISD node?

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


More information about the cfe-commits mailing list