[all-commits] [llvm/llvm-project] a4e8f7: [builtins] Improve compatibility with 16 bit targets
Anatoly Trosinenko via All-commits
all-commits at lists.llvm.org
Fri Jun 26 05:31:47 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a4e8f7fe3f38085c0fdd6e34e870f8e9c6c72861
https://github.com/llvm/llvm-project/commit/a4e8f7fe3f38085c0fdd6e34e870f8e9c6c72861
Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
Date: 2020-06-26 (Fri, 26 Jun 2020)
Changed paths:
M compiler-rt/lib/builtins/floatdidf.c
M compiler-rt/lib/builtins/floatundidf.c
M compiler-rt/lib/builtins/fp_lib.h
Log Message:
-----------
[builtins] Improve compatibility with 16 bit targets
Some parts of existing codebase assume the default `int` type to be (at least) 32 bit wide. On 16 bit targets such as MSP430 this may cause Undefined Behavior or results being defined but incorrect.
Differential Revision: https://reviews.llvm.org/D81408
More information about the All-commits
mailing list