| Index: lib/Target/Mips/MipsSEISelLowering.cpp
|
| diff --git a/lib/Target/Mips/MipsSEISelLowering.cpp b/lib/Target/Mips/MipsSEISelLowering.cpp
|
| index 4a0ce096eddaa0bbc4de3a9089a2bb80867c4a75..9c5e203018bcf5e387cf0e4dba9cb86c3c747b61 100644
|
| --- a/lib/Target/Mips/MipsSEISelLowering.cpp
|
| +++ b/lib/Target/Mips/MipsSEISelLowering.cpp
|
| @@ -1508,6 +1508,10 @@ SDValue MipsSETargetLowering::lowerINTRINSIC_WO_CHAIN(SDValue Op,
|
| switch (cast<ConstantSDNode>(Op->getOperand(0))->getZExtValue()) {
|
| default:
|
| return SDValue();
|
| + // @LOCALMOD-BEGIN
|
| + case Intrinsic::nacl_read_tp:
|
| + return GetNaClThreadPointer(DAG, SDLoc(Op));
|
| + // @LOCALMOD-END
|
| case Intrinsic::mips_shilo:
|
| return lowerDSPIntr(Op, DAG, MipsISD::SHILO);
|
| case Intrinsic::mips_dpau_h_qbl:
|
|
|