[PATCH] D147025: [InstCombine] Teach alloca replacement to handle `addrspacecast`
Yaxun Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 29 11:28:08 PDT 2023
yaxunl added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp:265
- bool collectUsers();
+ bool collectUsers(unsigned SrcAS);
void replacePointer(Value *V);
----------------
can we make SrcAS a member of PointerReplacer since it seems not to change?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147025/new/
https://reviews.llvm.org/D147025
More information about the llvm-commits
mailing list