[llvm-commits] [llvm] r121888 - /llvm/trunk/include/llvm/CallingConv.h
Wesley Peck
peckw at wesleypeck.com
Wed Dec 15 12:14:09 PST 2010
Author: peckw
Date: Wed Dec 15 14:14:09 2010
New Revision: 121888
URL: http://llvm.org/viewvc/llvm-project?rev=121888&view=rev
Log:
Adding target specific calling conventions to support the MBlaze GCC function
attributes "interrupt_handle" and "save_volatiles". Support for lowering these
correctly will be in an upcoming commit.
Modified:
llvm/trunk/include/llvm/CallingConv.h
Modified: llvm/trunk/include/llvm/CallingConv.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CallingConv.h?rev=121888&r1=121887&r2=121888&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CallingConv.h (original)
+++ llvm/trunk/include/llvm/CallingConv.h Wed Dec 15 14:14:09 2010
@@ -87,7 +87,14 @@
/// PTX_Device - Call to a PTX device function.
/// Passes all arguments in register or parameter space.
- PTX_Device = 72
+ PTX_Device = 72,
+
+ /// MBLAZE_INTR - Calling convention used for MBlaze interrupt routines.
+ MBLAZE_INTR = 73,
+
+ /// MBLAZE_INTR - Calling convention used for MBlaze interrupt support
+ /// routines (i.e. GCC's save_volatiles attribute).
+ MBLAZE_SVOL = 74
};
} // End CallingConv namespace
More information about the llvm-commits
mailing list