diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-02-24 12:44:34 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2024-02-24 12:44:34 +0100 |
commit | 5e7a176e88a2a37434cef9b1b6a37a4f8274854a (patch) | |
tree | b1eb81a8093efae6227558430feadc0ff41ba870 /gcc/tree.cc | |
parent | 2541c9d9105b5c0dff23cf41fc1a14d002e6f31a (diff) | |
download | gcc-5e7a176e88a2a37434cef9b1b6a37a4f8274854a.zip gcc-5e7a176e88a2a37434cef9b1b6a37a4f8274854a.tar.gz gcc-5e7a176e88a2a37434cef9b1b6a37a4f8274854a.tar.bz2 |
bitint: Handle VIEW_CONVERT_EXPRs between large/huge BITINT_TYPEs and VECTOR/COMPLEX_TYPE etc. [PR114073]
The following patch implements support for VIEW_CONVERT_EXPRs from/to
large/huge _BitInt to/from vector or complex types or anything else but
integral/pointer types which doesn't need to live in memory.
2024-02-24 Jakub Jelinek <jakub@redhat.com>
PR middle-end/114073
* gimple-lower-bitint.cc (bitint_large_huge::lower_stmt): Handle
VIEW_CONVERT_EXPRs between large/huge _BitInt and non-integer/pointer
types like vector or complex types.
(gimple_lower_bitint): Don't merge VIEW_CONVERT_EXPRs to non-integral
types. Fix up VIEW_CONVERT_EXPR handling. Allow merging
VIEW_CONVERT_EXPR from non-integral/pointer types with a store.
* gcc.dg/bitint-93.c: New test.
Diffstat (limited to 'gcc/tree.cc')
0 files changed, 0 insertions, 0 deletions