[llvm] [BPF] Handle certain mem intrinsic functions with addr-space arguments (PR #160025)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 6 11:38:28 PDT 2025
https://github.com/eddyz87 approved this pull request.
The need to create a new instance of the intrinsic because of the address space change is inconvenient indeed. Otherwise something as simple as this would have sufficed:
``` cpp
switch (Callee->getIntrinsicID()) {
case Intrinsic::memset:
aspaceWrapOperand(&Cache: CastsCache, I: &I, OpNum: 0);
...
}
```
https://github.com/llvm/llvm-project/pull/160025
More information about the llvm-commits
mailing list