diff options
author | Tejas Belagod <tejas.belagod@arm.com> | 2024-09-02 20:53:42 +0530 |
---|---|---|
committer | Tejas Belagod <tejas.belagod@arm.com> | 2024-11-12 15:19:34 +0530 |
commit | a552a808f004c90d6f880f296041d674bdc27eda (patch) | |
tree | 8d94d25d46326ed1654988d9faa297181eec6c0d /gcc/ada/raise-gcc.c | |
parent | 9a62c1495891032922af5bf9bd1906999cf63605 (diff) | |
download | gcc-a552a808f004c90d6f880f296041d674bdc27eda.zip gcc-a552a808f004c90d6f880f296041d674bdc27eda.tar.gz gcc-a552a808f004c90d6f880f296041d674bdc27eda.tar.bz2 |
rtl: Validate subreg info when optimizing vec_select.
When optimizing for NOPs in case of overlapping regs in VEC_SELECT expressions,
validate subreg data before using simplify_subreg_regno. There is no real
SUBREG rtx here, but a pseudo subreg call to check if subregs are possible.
gcc/ChangeLog:
* rtlanal.cc (set_noop_p): Validate subreg constraints before checking
for overlapping regs using simplify_subreg_regno.
Diffstat (limited to 'gcc/ada/raise-gcc.c')
0 files changed, 0 insertions, 0 deletions