[llvm-dev] Finding AllocaInst inside loop

via llvm-dev llvm-dev at lists.llvm.org
Sat Apr 22 23:21:39 PDT 2017

Hi Everyone,

I am trying to find out all AllocaInst inside loop. But the problem is due
to code motion AllocaInst is moved outside the loop.

I tried -O0 but the problem remains.

Can some please tell me where I am doing wrong or there is some other
approach to catch AllocaInst inside the loop.

Thanks and Regards
Awanish Pandey
IIT Kanpur

More information about the llvm-dev mailing list