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

Unified Diff: lib/Target/X86/X86CallingConv.td

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/X86/X86AsmPrinter.cpp ('k') | lib/Target/X86/X86FastISel.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/X86/X86CallingConv.td
diff --git a/lib/Target/X86/X86CallingConv.td b/lib/Target/X86/X86CallingConv.td
index 75a2ec004685beeab59ef97ca0a681e3a71b8261..9e9f367547f4e48208f355ff7671007fc92832b8 100644
--- a/lib/Target/X86/X86CallingConv.td
+++ b/lib/Target/X86/X86CallingConv.td
@@ -727,3 +727,9 @@ def CSR_64_Intel_OCL_BI_AVX : CalleeSavedRegs<(add CSR_64,
def CSR_64_Intel_OCL_BI_AVX512 : CalleeSavedRegs<(add RBX, RDI, RSI, R14, R15,
(sequence "ZMM%u", 16, 31),
K4, K5, K6, K7)>;
+
+// @LOCALMOD-BEGIN
+// NaCl x86-64 (R15 cannot be modified):
+def CSR_NaCl64 : CalleeSavedRegs<(add RBX, R12, R13, R14, RBP)>;
+def CSR_NaCl64EHRet : CalleeSavedRegs<(add RAX, RDX, CSR_NaCl64)>;
+// @LOCALMOD-END
« no previous file with comments | « lib/Target/X86/X86AsmPrinter.cpp ('k') | lib/Target/X86/X86FastISel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698