Fix ARM FastISel PIC function call.
authorLogan Chien <tzuhsiang.chien@gmail.com>
Thu, 22 Aug 2013 12:08:04 +0000 (12:08 +0000)
committerLogan Chien <tzuhsiang.chien@gmail.com>
Thu, 22 Aug 2013 12:08:04 +0000 (12:08 +0000)
commit2361f51e8224bb570df657942186f3230c42c848
tree69ffee2f5dd72da28bd666a774f4c6c8e9c60c02
parent2f493c777751b1c8f2bc215c4ab1df6e7b79588e
Fix ARM FastISel PIC function call.

The function call to external function should come with PLT relocation
type if the PIC relocation model is used.

llvm-svn: 189002
llvm/lib/Target/ARM/ARMFastISel.cpp
llvm/test/CodeGen/ARM/pic.ll [new file with mode: 0644]