Updates the MSP430 target to generate EABI-compatible libcall names. As a byproduct, adjusts the hardware multiplier options available in the MSP430 target, adds support for promotion of the ISD::MUL operation for 8-bit integers, and correctly marks R11 as used by call instructions.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Updated to add support for the compiler helper function API, allowing use of mspabi libcalls which take two 64-bit operands.
Comment Actions
this code produces a lot of warnings:
lib/Target/MSP430/MSP430ISelLowering.cpp:176:72: warning: missing field 'CC' initializer [-Wmissing-field-initializers] { RTLIB::FPROUND_F64_F32, "__mspabi_cvtdf", ISD::SETCC_INVALID }, ^
Comment Actions
Fixed the warnings - remnants of an older approach to the helper function ABI. Thanks.
Comment Actions
Sorry, I didn't notice this earlier, your previous revision (97399) had hwmult tests, but latest revision (98033) doesn't have them anymore.
Comment Actions
Fixed up the patch and bumped the calling convention version number to avoid conflict with new AMDGPU calling convention.
Sorry for the errors.