[cfe-commits] r140165 - /cfe/trunk/lib/CodeGen/TargetInfo.cpp
Akira Hatanaka
ahatanak at gmail.com
Tue Sep 20 11:30:57 PDT 2011
Author: ahatanak
Date: Tue Sep 20 13:30:57 2011
New Revision: 140165
URL: http://llvm.org/viewvc/llvm-project?rev=140165&view=rev
Log:
Create a MipsTargetCodeGenInfo object for mips64/mips64el. The size of the
UnwindException structure is 32 for mips64.
Modified:
cfe/trunk/lib/CodeGen/TargetInfo.cpp
Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=140165&r1=140164&r2=140165&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Tue Sep 20 13:30:57 2011
@@ -3172,6 +3172,10 @@
case llvm::Triple::mipsel:
return *(TheTargetCodeGenInfo = new MIPSTargetCodeGenInfo(Types, 24));
+ case llvm::Triple::mips64:
+ case llvm::Triple::mips64el:
+ return *(TheTargetCodeGenInfo = new MIPSTargetCodeGenInfo(Types, 32));
+
case llvm::Triple::arm:
case llvm::Triple::thumb:
{
More information about the cfe-commits
mailing list