Select G_GLOBAL_VALUE for position dependent code.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with a nit.
lib/Target/Mips/MipsInstructionSelector.cpp | ||
---|---|---|
170 ↗ | (On Diff #157281) | I suggest to use an early-return: if (MF.getTarget().isPositionIndependent()) return false; |