On 12/15/2015 10:27 AM, Kyrill Tkachov wrote:
Hi all,

This converts the preprocessor checks for WORD_REGISTER_OPERATIONS into
runtime checks
in reload.c.

Since this one is used to guard part of a large condition, I'd
appreciate it if someone
double-checks that the logic is still equivalent.

Bootstrapped and tested on arm, aarch64, x86_64.

Ok for trunk?

Thanks,
Kyrill

2015-12-15  Kyrylo Tkachov  <kyrylo.tkac...@arm.com>

    * reload.c (push_reload): Convert preprocessor checks
    for WORD_REGISTER_OPERATIONS to runtime checks.
You just changed

#if FOO
   || (somecondition)
#endif

to

   || (FOO
       && (somecondition))

Looks good to me.  OK for the trunk.

Thanks,
Jeff

Reply via email to