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

Unified Diff: lib/Target/ARM/ARMSelectionDAGInfo.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/ARM/ARMNaClRewritePass.cpp ('k') | lib/Target/ARM/ARMSubtarget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/ARM/ARMSelectionDAGInfo.cpp
diff --git a/lib/Target/ARM/ARMSelectionDAGInfo.cpp b/lib/Target/ARM/ARMSelectionDAGInfo.cpp
index fa30ac31a30f79bb3ef01c83c1ea131fa6729052..ead581a0787f50e7d878058416c9f5a5bc57c3e2 100644
--- a/lib/Target/ARM/ARMSelectionDAGInfo.cpp
+++ b/lib/Target/ARM/ARMSelectionDAGInfo.cpp
@@ -152,9 +152,12 @@ EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc dl,
MachinePointerInfo DstPtrInfo) const {
const ARMSubtarget &Subtarget = DAG.getTarget().getSubtarget<ARMSubtarget>();
// Use default for non-AAPCS (or MachO) subtargets
- if (!Subtarget.isAAPCS_ABI() || Subtarget.isTargetMachO() ||
+ // @LOCALMOD-START
+ if (Subtarget.isTargetNaCl() || !EnableARMAEABIFunctions ||
+ !Subtarget.isAAPCS_ABI() || Subtarget.isTargetMachO() ||
Subtarget.isTargetWindows())
return SDValue();
+ // @LOCALMOD-END
const ARMTargetLowering &TLI =
*DAG.getTarget().getSubtarget<ARMSubtarget>().getTargetLowering();
« no previous file with comments | « lib/Target/ARM/ARMNaClRewritePass.cpp ('k') | lib/Target/ARM/ARMSubtarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698