This patch corrects http://reviews.llvm.org/D12155, which didn't take into account the fact that aapcs ABI can be selected on darwin platforms. The new patch errors out only when the ABI is APCS and the float-abi is hard.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Yep, this looks fine. Out of curiosity, what happens if we permit the MachO + !useAAPCS + FloatABI=hard case?
Comment Actions
float-abi=hard has no effect on the backend code-generation if the ABI is APCS, meaning GPRs will be used to pass floating point arguments. This patch makes changes to the driver so that the error is detected in the front-end rather than silently ignoring the option in the backend.