mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
[PPC] Secure PLT only has meaning for PIC
llvm-svn: 355154
This commit is contained in:
parent
3d80173d14
commit
c4ae03f055
@ -4358,8 +4358,8 @@ void PPCDAGToDAGISel::Select(SDNode *N) {
|
||||
const Module *M = MF->getFunction().getParent();
|
||||
|
||||
if (PPCLowering->getPointerTy(CurDAG->getDataLayout()) != MVT::i32 ||
|
||||
!PPCSubTarget->isSecurePlt() || !PPCSubTarget->isTargetELF() ||
|
||||
M->getPICLevel() == PICLevel::SmallPIC)
|
||||
(!TM.isPositionIndependent() || !PPCSubTarget->isSecurePlt()) ||
|
||||
!PPCSubTarget->isTargetELF() || M->getPICLevel() == PICLevel::SmallPIC)
|
||||
break;
|
||||
|
||||
SDValue Op = N->getOperand(1);
|
||||
|
Loading…
Reference in New Issue
Block a user