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:
parent
eef48f9ee2
commit
d20db3aec9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user