[llvm-commits] [PATCH] Add support for non-global callee in ARMFastISel
Chad Rosier
mcrosier at apple.com
Tue May 15 12:37:28 PDT 2012
LGTM.
Chad
On May 14, 2012, at 7:14 PM, Jush Lu <jush.msn at gmail.com> wrote:
>
> I merge two files into a single patch as suggestion.
>
> On Mon, May 14, 2012 at 11:41 PM, Jush Lu <jush.msn at gmail.com> wrote:
> Hi,
>
> Attached files are patches for SelectCall() in ARMFastISel to support
> non-global callee, they doesn't give any warnings and passes all
> testcases. Please help me review these patches, thanks.
>
> Following is an example that this patch can handle.
>
> --------------------
> int foo(int i) {
> return ++i;
> }
>
> int main() {
> int (*fptr)(int) = &foo;
> int i = fptr(2);
> return 0;
> }
> --------------------------
>
>
> Jush
>
> <non-global-callee.patch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120515/f30012fe/attachment.html>
More information about the llvm-commits
mailing list