[AArch64] Restore gimple_folding of reduction intrinsics
authorAlan Lawrence <alan.lawrence@arm.com>
Mon, 27 Oct 2014 15:53:25 +0000 (15:53 +0000)
committerAlan Lawrence <alalaw01@gcc.gnu.org>
Mon, 27 Oct 2014 15:53:25 +0000 (15:53 +0000)
commitfc72cba7ce5bbd350249dd5de10bc9eaa1633a8e
treea7e1cf97d28cebb6f3cd9fdc4c5eff95a8a28d40
parent64b0f9284445df67cc0b64004cc87793076198ae
[AArch64] Restore gimple_folding of reduction intrinsics

* config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Define again.
* config/aarch64/aarch64-builtins.c (aarch64_gimple_fold_builtin):
Restore, enable for bigendian, update to use __builtin..._scal...

From-SVN: r216742
gcc/ChangeLog
gcc/config/aarch64/aarch64-builtins.c
gcc/config/aarch64/aarch64.c