[llvm] [BPF] Handle certain mem intrinsic functions with addr-space arguments (PR #160025)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 24 03:22:08 PDT 2025


================
@@ -478,9 +479,57 @@ static void aspaceWrapOperand(DenseMap<Value *, Value *> &Cache, Instruction *I,
   }
 }
 
+static Instruction *aspaceMemIntrinsic(DenseMap<Value *, Value *> &Cache,
+                                       Instruction *I, bool IsSet, bool IsCpy) {
----------------
4ast wrote:

set|cpy|mov expressed oddly with these bool args. 3 separate helpers will look cleaner.

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


More information about the llvm-commits mailing list