Commit e2fc7193 by Kyrylo Tkachov Committed by Kyrylo Tkachov

[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
parent 9482b620
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> 2015-06-03 Jan Hubicka <hubicka@ucw.cz>
* tree.c (verify_type_variant): Verify that type and variant is * tree.c (verify_type_variant): Verify that type and variant is
......
...@@ -7207,8 +7207,7 @@ aarch64_override_options (void) ...@@ -7207,8 +7207,7 @@ aarch64_override_options (void)
#endif #endif
} }
if (AARCH64_TUNE_FMA_STEERING) aarch64_register_fma_steering ();
aarch64_register_fma_steering ();
aarch64_override_options_after_change (); aarch64_override_options_after_change ();
} }
......
...@@ -1053,7 +1053,7 @@ public: ...@@ -1053,7 +1053,7 @@ public:
/* opt_pass methods: */ /* opt_pass methods: */
virtual bool gate (function *) virtual bool gate (function *)
{ {
return optimize >= 2; return AARCH64_TUNE_FMA_STEERING && optimize >= 2;
} }
virtual unsigned int execute (function *) virtual unsigned int execute (function *)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment