diff options
author | Robin Dapp <rdapp@ventanamicro.com> | 2023-07-05 14:42:21 +0200 |
---|---|---|
committer | Robin Dapp <rdapp@ventanamicro.com> | 2023-07-05 15:54:51 +0200 |
commit | 429905d809bbf2398bf666d65322b87ac7381e43 (patch) | |
tree | 69caa752aa6928848fea4109d6b0d00b32d7088e /libgcc | |
parent | 34c614b7e9dcb52a23063680f3622c842a9712ec (diff) | |
download | gcc-429905d809bbf2398bf666d65322b87ac7381e43.zip gcc-429905d809bbf2398bf666d65322b87ac7381e43.tar.gz gcc-429905d809bbf2398bf666d65322b87ac7381e43.tar.bz2 |
RISC-V: Change truncate to float_truncate in narrowing patterns.
This fixes a bug in the autovect FP narrowing patterns which resulted in
a combine ICE. It would try to e.g. simplify a unary operation by
simplify_const_unary_operation which obviously expects a float_truncate
and not a truncate for a floating-point mode.
gcc/ChangeLog:
* config/riscv/autovec.md: Use float_truncate.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions