[llvm-dev] Finding nearest store to a variable
David Chisnall via llvm-dev
llvm-dev at lists.llvm.org
Sat May 27 12:17:48 PDT 2017
On 27 May 2017, at 20:04, Jajoo, Malhar via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hey guys ,
>
> I have question : How to find nearest store to a alloca variable in LLVM ?
Don’t. You are trying to solve a problem that is the main reason that SSA form was created, without using SSA form. If you really insist on duplicating all of the analysis that LLVM can do for you in constructing SSA form, I suggest that you start reading about dominance frontier construction and go from there.
David
More information about the llvm-dev
mailing list