[llvm-commits] [PATCH] Add support for non-global callee in ARMFastISel
Jush Lu
jush.msn at gmail.com
Mon May 14 08:41:39 PDT 2012
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 --------------
A non-text attachment was scrubbed...
Name: fast-isel-call.patch
Type: application/octet-stream
Size: 817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120514/6ae0cf3f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ARMFastISel.patch
Type: application/octet-stream
Size: 1823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120514/6ae0cf3f/attachment-0001.obj>
More information about the llvm-commits
mailing list