1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00

Use isPositionIndependent. NFC.

llvm-svn: 273829
This commit is contained in:
Rafael Espindola 2016-06-26 22:32:53 +00:00
parent eef48f9ee2
commit d20db3aec9

View File

@ -540,7 +540,7 @@ unsigned ARMFastISel::ARMMaterializeInt(const Constant *C, MVT VT) {
}
bool ARMFastISel::isPositionIndependent() const {
return TM.getRelocationModel() == Reloc::PIC_;
return TLI.isPositionIndependent();
}
unsigned ARMFastISel::ARMMaterializeGV(const GlobalValue *GV, MVT VT) {