diff options
author | Davide Italiano <davide@freebsd.org> | 2018-04-02 16:50:54 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2018-04-02 16:50:54 +0000 |
commit | 49d802862d5edf762928cb2ee159614f31eb2364 (patch) | |
tree | f95222a9cd1a0b4f3ea8e03fc4e39ef3b28de04d /llvm/lib/Transforms/Coroutines | |
parent | f4e7e5210cd70b13a90e2a876eaadb7f02ef5829 (diff) | |
download | bcm5719-llvm-49d802862d5edf762928cb2ee159614f31eb2364.tar.gz bcm5719-llvm-49d802862d5edf762928cb2ee159614f31eb2364.zip |
[Core] Grab-bag of improvements for Scalar.
Remove Scalar::Cast.
It was noted on the list that this method is unused. So, this patch
removes it.
Fix Scalar::Promote for most integer types
This fixes promotion of most integer types (128- and 256-bit types are
handled in a subsequent patch) to floating-point types. Previously
promotion was done bitwise, where value preservation is correct.
Fix Scalar::Promote for 128- and 256-bit integer types
This patch fixes the behavior of Scalar::Promote when trying to
perform a binary operation involving a 128- or 256-bit integer type
and a floating-point type. Now, the integer is cast to the floating
point type for the operation.
Patch by Tom Tromey!
Differential Revision: https://reviews.llvm.org/D44907
llvm-svn: 328985
Diffstat (limited to 'llvm/lib/Transforms/Coroutines')
0 files changed, 0 insertions, 0 deletions