[PATCH] D21466: [mips] Don't derive the default ABI from the CPU in the backend.
Daniel Sanders via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 17 05:32:05 PDT 2016
dsanders created this revision.
dsanders added a reviewer: sdardis.
dsanders added a subscriber: llvm-commits.
dsanders added a dependency: D21465: [llc+llvm-mc] Replace the hidden -target-abi option with a -mabi thats visible in --help..
Herald added subscribers: sdardis, dsanders.
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
Depends on D21465
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 30978 bytes
Desc: not available
More information about the llvm-commits