Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(533)

Unified Diff: lib/Target/Mips/MipsSEISelLowering.cpp

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Target/Mips/MipsISelLowering.cpp ('k') | lib/Target/TargetLibraryInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « lib/Target/Mips/MipsISelLowering.cpp ('k') | lib/Target/TargetLibraryInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698