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

Unified Diff: lib/Target/ARM/ARMCallingConv.td

Issue 1154253004: Use R0/R1 instead of R4/R5 for ARM eh_return return values (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 7 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
Index: lib/Target/ARM/ARMCallingConv.td
diff --git a/lib/Target/ARM/ARMCallingConv.td b/lib/Target/ARM/ARMCallingConv.td
index 83fa0130c72217857f2e81fd6e0fc5c56d173b72..9eaaf3e7cb9d1ffdd6b36baabc99c4b8127001a8 100644
--- a/lib/Target/ARM/ARMCallingConv.td
+++ b/lib/Target/ARM/ARMCallingConv.td
@@ -242,4 +242,6 @@ def CSR_FIQ : CalleeSavedRegs<(add LR, R11, (sequence "R%u", 7, 0))>;
// NaCl does not save R9, but otherwise uses the same order as AAPCS
def CSR_NaCl : CalleeSavedRegs<(add LR, R11, R10, R8, R7, R6, R5, R4,
(sequence "D%u", 15, 8))>;
+def CSR_NaCl_EHRet : CalleeSavedRegs<(add LR, R11, R10, R8, R7, R6, R5, R4, R1, R0,
jvoung (off chromium) 2015/06/03 17:19:38 Is it possible to express this as (add CSR_NaCl, R
Derek Schuff 2015/06/03 20:50:56 Yes, that works.
+ (sequence "D%u", 15, 8))>;
// @LOCALMOD-END

Powered by Google App Engine
This is Rietveld 408576698