[all-commits] [llvm/llvm-project] 19e757: [MSP430] Declare comparison LibCalls as returning ...
Anatoly Trosinenko via All-commits
all-commits at lists.llvm.org
Tue Jun 30 01:04:57 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 19e75717eff2c22e6643addcc44caa8dc2f0125f
https://github.com/llvm/llvm-project/commit/19e75717eff2c22e6643addcc44caa8dc2f0125f
Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
Date: 2020-06-30 (Tue, 30 Jun 2020)
Changed paths:
M llvm/lib/Target/MSP430/MSP430ISelLowering.h
A llvm/test/CodeGen/MSP430/cmp-return-type.ll
Log Message:
-----------
[MSP430] Declare comparison LibCalls as returning i16 instead of i32
For TI's distribution of msp430-gcc
```
msp430-elf-gcc -S -o- -Os -x c - <<< "int f(float a, float b) { return a != b; }"
```
does not mention `R13` at all. `__libgcc_cmp_return__` machine mode is 2 byte on MSP430, as well.
Differential Revision: https://reviews.llvm.org/D82635
More information about the All-commits
mailing list