]> granicus.if.org Git - clang/commit
[mips] Make it impossible to have UnknownABI in CodeGen and Integrated Assembler.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 20 Feb 2014 14:58:19 +0000 (14:58 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 20 Feb 2014 14:58:19 +0000 (14:58 +0000)
commit3734ce4c7eaad52dc5598147d1d9a58132c28471
tree3a81f6ee88171a81c53f5c441ab228e3d8db3186
parent880cad25dcd8b4d6663cbc98e06bfe2e05f61585
[mips] Make it impossible to have UnknownABI in CodeGen and Integrated Assembler.

Summary:
This removes the need to coerce UnknownABI to the default ABI (O32 for
MIPS32, N64 for MIPS64 [*]) in both MipsSubtarget and MipsAsmParser.

Clang has been updated to disable both possible default ABI's before enabling
the ABI it intends to use.

[*] N64 being the default for MIPS64 is not actually correct.
    However N32 is not fully implemented/tested yet.

Depends on: D2830

Reviewers: jacksprat, matheusalmeida

Reviewed By: matheusalmeida

Differential Revision: http://llvm-reviews.chandlerc.com/D2832
Differential Revision: http://llvm-reviews.chandlerc.com/D2846

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201792 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp