aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.h
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2022-08-04 19:34:55 -0700
committerAndrew Pinski <apinski@marvell.com>2022-08-04 19:42:42 -0700
commitffe4f55aa1bb18cc2793a4335450f34c33c9d01c (patch)
treee0d953bfea94e1b420ef5c1bb390b2540441b6a7 /gcc/value-range.h
parent4ad52740ba01f796c6c125aa2cc25115c3bf6693 (diff)
downloadgcc-ffe4f55aa1bb18cc2793a4335450f34c33c9d01c.zip
gcc-ffe4f55aa1bb18cc2793a4335450f34c33c9d01c.tar.gz
gcc-ffe4f55aa1bb18cc2793a4335450f34c33c9d01c.tar.bz2
[RSIC-V] Fix 32bit riscv with zbs extension enabled
The problem here was a disconnect between splittable_const_int_operand predicate and the function riscv_build_integer_1 for 32bits with zbs enabled. The splittable_const_int_operand predicate had a check for TARGET_64BIT which was not needed so this patch removed it. Committed as obvious after a build for risc32-elf configured with --with-arch=rv32imac_zba_zbb_zbc_zbs. Thanks, Andrew Pinski gcc/ChangeLog: * config/riscv/predicates.md (splittable_const_int_operand): Remove the check for TARGET_64BIT for single bit const values.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions