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

Side by Side Diff: lib/Target/ARM/ARMCallingConv.td

Issue 1173643002: Revert "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, 6 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 unified diff | Download patch
« no previous file with comments | « lib/Target/ARM/ARMBaseRegisterInfo.cpp ('k') | lib/Target/ARM/ARMFrameLowering.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===-- ARMCallingConv.td - Calling Conventions for ARM ----*- tablegen -*-===// 1 //===-- ARMCallingConv.td - Calling Conventions for ARM ----*- tablegen -*-===//
2 // 2 //
3 // The LLVM Compiler Infrastructure 3 // The LLVM Compiler Infrastructure
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // This describes the calling conventions for ARM architecture. 9 // This describes the calling conventions for ARM architecture.
10 //===----------------------------------------------------------------------===// 10 //===----------------------------------------------------------------------===//
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 // FIXME: we mark R11 as callee-saved since it's often the frame-pointer, and 236 // FIXME: we mark R11 as callee-saved since it's often the frame-pointer, and
237 // current frame lowering expects to encounter it while processing callee-saved 237 // current frame lowering expects to encounter it while processing callee-saved
238 // registers. 238 // registers.
239 def CSR_FIQ : CalleeSavedRegs<(add LR, R11, (sequence "R%u", 7, 0))>; 239 def CSR_FIQ : CalleeSavedRegs<(add LR, R11, (sequence "R%u", 7, 0))>;
240 240
241 // @LOCALMOD-START 241 // @LOCALMOD-START
242 // NaCl does not save R9, but otherwise uses the same order as AAPCS 242 // NaCl does not save R9, but otherwise uses the same order as AAPCS
243 def CSR_NaCl : CalleeSavedRegs<(add LR, R11, R10, R8, R7, R6, R5, R4, 243 def CSR_NaCl : CalleeSavedRegs<(add LR, R11, R10, R8, R7, R6, R5, R4,
244 (sequence "D%u", 15, 8))>; 244 (sequence "D%u", 15, 8))>;
245 def CSR_NaCl_EHRet : CalleeSavedRegs<(add CSR_NaCl, R1, R0)>;
246 // @LOCALMOD-END 245 // @LOCALMOD-END
OLDNEW
« no previous file with comments | « lib/Target/ARM/ARMBaseRegisterInfo.cpp ('k') | lib/Target/ARM/ARMFrameLowering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698