[llvm-commits] [PATCH] Add support for non-global callee in ARMFastISel
Jush Lu
jush.msn at gmail.com
Mon May 14 19:14:03 PDT 2012
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120515/58b74569/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: non-global-callee.patch
Type: application/octet-stream
Size: 2640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120515/58b74569/attachment.obj>
More information about the llvm-commits
mailing list