[LLVMbugs] [Bug 11031] [AVX, perf] %rbp unnecessarily saved and restored in simple function

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 2 14:36:00 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=11031

Adam Strzelecki <ono at java.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Adam Strzelecki <ono at java.pl> ---
Forget what I've written before. I just realized that GCC is just simply
ommiting %ebp frame pointer when using >O2 as recommended by AMD64 ABI but
Clang is not to get meaningful stack traces.

However adding -fomit-frame-pointer make Clang behave exactly as GCC.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130802/73d02f39/attachment.html>


More information about the llvm-bugs mailing list