llvm.org GIT mirror llvm / a9848ef
Merging r355154: ------------------------------------------------------------------------ r355154 | joerg | 2019-02-28 15:33:09 -0800 (Thu, 28 Feb 2019) | 2 lines [PPC] Secure PLT only has meaning for PIC ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_80@362729 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 2 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
43584358 const Module *M = MF->getFunction().getParent();
43594359
43604360 if (PPCLowering->getPointerTy(CurDAG->getDataLayout()) != MVT::i32 ||
4361 !PPCSubTarget->isSecurePlt() || !PPCSubTarget->isTargetELF() ||
4362 M->getPICLevel() == PICLevel::SmallPIC)
4361 (!TM.isPositionIndependent() || !PPCSubTarget->isSecurePlt()) ||
4362 !PPCSubTarget->isTargetELF() || M->getPICLevel() == PICLevel::SmallPIC)
43634363 break;
43644364
43654365 SDValue Op = N->getOperand(1);