commit | b2c9290a01c5a6f2206f4c47c702086834b65339 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Tue Feb 02 02:22:50 2010 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Tue Feb 02 02:22:50 2010 +0000 |
tree | 710528533b35dd5503bf95bfc12a26f49a685385 | |
parent | d74667e226c3053128f34c6f2c6c9ebfe5b98e50 [diff] |
Perform sibcall in some cases when arguments are passes memory. Look for cases where callee's arguments are already in the caller's own caller's stack and they line up perfectly. e.g. extern int foo(int a, int b, int c); int bar(int a, int b, int c) { return foo(a, b, c); } git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95053 91177308-0d34-0410-b5e6-96231b3b80d8