From: Akira Hatanaka Date: Tue, 20 Sep 2011 18:30:57 +0000 (+0000) Subject: Create a MipsTargetCodeGenInfo object for mips64/mips64el. The size of the X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c6dfbe044155277b06e4345f1b98910692390b6;p=clang Create a MipsTargetCodeGenInfo object for mips64/mips64el. The size of the UnwindException structure is 32 for mips64. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140165 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index b6abc65c81..434e202f2e 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -3172,6 +3172,10 @@ const TargetCodeGenInfo &CodeGenModule::getTargetCodeGenInfo() { 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: {