[llvm] [llubi] Implement memory manipulation intrinsics (PR #204932)
Antonio Frighetto via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 22 03:17:50 PDT 2026
================
@@ -698,6 +699,120 @@ class InstExecutor : public InstVisitor<InstExecutor, void>,
return V.asInteger();
}
+ AnyValue callMemTransferIntrinsic(ArrayRef<AnyValue> Args,
+ Intrinsic::ID IID) {
+ if (Args[2].isPoison()) {
----------------
antoniofrighetto wrote:
I think it would help make the code more readable to have, e.g.:
```suggestion
const AnyValue &Dest = Args[0], &Src = Args[1], &Length = Args[2];
```
And directly work on these objects, same for memset (maybe also worth adding a TODO in the code for volatile as a future work).
https://github.com/llvm/llvm-project/pull/204932
More information about the llvm-commits
mailing list