OSDN Git Service

Use isPositionIndependent in a few more places.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 28 Jun 2016 20:13:36 +0000 (20:13 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 28 Jun 2016 20:13:36 +0000 (20:13 +0000)
commitc4cbe67fa87b2bab8deaeb9921c7315db8500e50
tree663bbe84ea2b5c43cd05d8398a6404165385d060
parentd6a559cb89d9638eab415cb5d60b20bdfa142a90
Use isPositionIndependent in a few more places.

I think this converts all the simple cases that really just care about
the generated code being position independent or not. The remaining
uses are a bit more complicated and are checking things like "is this
a library or executable" or "can this symbol be preempted".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274055 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/Target/Hexagon/HexagonFrameLowering.cpp
lib/Target/PowerPC/PPCRegisterInfo.cpp