[AArch64] Always register fma_steering pass but gate it on the target option instead
* config/aarch64/aarch64.c (aarch64_override_options): Unconditionally register fma steering pass. * config/aarch64/cortex-a57-fma-steering.c (gate): Add gating on AARCH64_TUNE_FMA_STEERING. From-SVN: r224116
This commit is contained in:
parent
9482b620d2
commit
e2fc719399
3 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2015-06-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||
|
||||
* config/aarch64/aarch64.c (aarch64_override_options): Unconditionally
|
||||
register fma steering pass.
|
||||
* config/aarch64/cortex-a57-fma-steering.c (gate): Add gating on
|
||||
AARCH64_TUNE_FMA_STEERING.
|
||||
|
||||
2015-06-03 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* tree.c (verify_type_variant): Verify that type and variant is
|
||||
|
|
|
@ -7207,8 +7207,7 @@ aarch64_override_options (void)
|
|||
#endif
|
||||
}
|
||||
|
||||
if (AARCH64_TUNE_FMA_STEERING)
|
||||
aarch64_register_fma_steering ();
|
||||
aarch64_register_fma_steering ();
|
||||
|
||||
aarch64_override_options_after_change ();
|
||||
}
|
||||
|
|
|
@ -1053,7 +1053,7 @@ public:
|
|||
/* opt_pass methods: */
|
||||
virtual bool gate (function *)
|
||||
{
|
||||
return optimize >= 2;
|
||||
return AARCH64_TUNE_FMA_STEERING && optimize >= 2;
|
||||
}
|
||||
|
||||
virtual unsigned int execute (function *)
|
||||
|
|
Loading…
Add table
Reference in a new issue