[LLVMdev] How to prevent Dead-Code-Elimination pass removing pseudo-instructions ADJCALLSTACK(DOWN | UP)?

杨勇勇 triple.yang at gmail.com
Tue Sep 3 23:56:55 PDT 2013


Hi, LLVMer.

I use pseudo-instructions ADJCALLSTACK(DOWN | UP) to adjust call stacks,
and it works well with "-O0" option. However, ADJCALLSTACK(DOWN | UP) are
removed during codegen DCE pass under "-O2".

What have I ignored?

Thanks.

-- 
杨勇勇 (Yang Yong-Yong)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130904/3e51f557/attachment.html>


More information about the llvm-dev mailing list