aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2016-06-23 12:42:53 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2016-06-23 12:42:53 +0000
commitde393329b934570e18e05f6c29fe432fbc27283c (patch)
treec91347c7f525d5748500ec3dec7e4ccec4fa20b9 /clang/lib/CodeGen/CodeGenModule.cpp
parenteb3dd14b95fe4e14e9a49e4884805509fb7ee9ec (diff)
downloadllvm-de393329b934570e18e05f6c29fe432fbc27283c.zip
llvm-de393329b934570e18e05f6c29fe432fbc27283c.tar.gz
llvm-de393329b934570e18e05f6c29fe432fbc27283c.tar.bz2
[mips] Don't derive the default ABI from the CPU in the backend.
Summary: The backend has no reason to behave like a driver and should generally do as it's told (and error out if it can't) instead of trying to figure out what the API user meant. The default ABI is still derived from the arch component as a concession to backwards compatibility. API-users that previously passed an explicit CPU and a triple that was inconsistent with the CPU (e.g. mips-linux-gnu and mips64r2) may get a different ABI to what they got before. However, it's expected that there are no such users on the basis that CodeGen has been asserting that the triple is consistent with the selected ABI for several releases. API-users that were consistent or passed '' or 'generic' as the CPU will see no difference. Reviewers: sdardis, rafael Subscribers: rafael, dsanders, sdardis, llvm-commits Differential Revision: http://reviews.llvm.org/D21466 llvm-svn: 273557
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions