Use more specific hash functions in rtlhash.c
authorRichard Sandiford <richard.sandiford@linaro.org>
Wed, 1 Nov 2017 13:35:22 +0000 (13:35 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 1 Nov 2017 13:35:22 +0000 (13:35 +0000)
commit8c4dcf35d54e111156d78801111633feb11de87a
treee3dcf1ecacc34f8105f6d7096551792d99ce9e19
parent6645d84173dfc7a7bfa389db1e2359cd78fe7182
Use more specific hash functions in rtlhash.c

Avoid using add_object when we have more specific routines available.

2017-11-01  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* rtlhash.c (add_rtx): Use add_hwi for 'w' and add_int for 'i'.

Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r254307
gcc/ChangeLog
gcc/rtlhash.c