diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-02-02 02:22:50 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-02-02 02:22:50 +0000 |
commit | b2c9290a01c5a6f2206f4c47c702086834b65339 (patch) | |
tree | 710528533b35dd5503bf95bfc12a26f49a685385 /lib/Transforms/Scalar/LoopUnswitch.cpp | |
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
Diffstat (limited to 'lib/Transforms/Scalar/LoopUnswitch.cpp')
0 files changed, 0 insertions, 0 deletions