https://llvm.org/bugs/show_bug.cgi?id=27140
Bug ID: 27140
Summary: [X86] Redundant adjacent stack adjustments after call
frame optimization
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Blocks: 26299
Classification: Unclassified
For example
void f(int, int);
void g() {
f(1, 2);
}
Compiled with Clang 3.8 for 32-bit x86 Linux at -Os:
g:
subl $12, %esp
subl $8, %esp
pushl $2
pushl $1
calll f
addl $16, %esp
addl $12, %esp
retl
I'm working on a patch.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs