[all-commits] [llvm/llvm-project] be6109: [MSP430][Clang] Remove support for -mmcu=msp430
jozeflopen via All-commits
all-commits at lists.llvm.org
Tue Sep 28 10:48:04 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: be610932fa068ed2228b0f694ae80c9294f0293f
https://github.com/llvm/llvm-project/commit/be610932fa068ed2228b0f694ae80c9294f0293f
Author: Jozef Lawrynowicz <jozefl.opensrc at gmail.com>
Date: 2021-09-28 (Tue, 28 Sep 2021)
Changed paths:
M clang/include/clang/Basic/MSP430Target.def
M clang/test/Driver/msp430-mmcu.c
Log Message:
-----------
[MSP430][Clang] Remove support for -mmcu=msp430
The -mmcu= option accepts a generic MCU named "msp430", which sets the
CPU to msp430 and disables hardware multiply support.
The current purpose of accepting this value is to allow -mmcu= to be
used as an alias for -mcpu=, however there are some downsides to doing
this. -mmcu= provides additional features that will interfere
with the expected behavior if the user tries to to use it as an alias
for -mcpu=.
-mmcu=msp430 will conflict with -mhwmult=, since the "msp430" MCU is
defined to have no hardware multiply support, so the user will not be
able to set an explicit hardware multiply version.
-mmcu=msp430 will put "-Tmsp430.ld" on the linker command line, however
TI's support files do not provide a linker script with this name and so
the user would have to explicitly create it.
Differential Revision: https://reviews.llvm.org/D108299
More information about the All-commits
mailing list