RE: [PATCH] arm: Remove add_stmt_cost hook

2021-10-14 Thread Kyrylo Tkachov via Gcc-patches
> -Original Message- > From: Richard Sandiford > Sent: Thursday, October 14, 2021 11:57 AM > To: gcc-patches@gcc.gnu.org > Cc: ni...@redhat.com; Richard Earnshaw ; > Ramana Radhakrishnan ; Kyrylo > Tkachov > Subject: [PATCH] arm: Remove add_stmt_cost hook >

[PATCH] arm: Remove add_stmt_cost hook

2021-10-14 Thread Richard Sandiford via Gcc-patches
The arm implementation of add_stmt_cost was added alongside arm_builtin_vectorization_cost. At that time it was necessary to override the latter when overriding the former, since default_add_stmt_cost didn't indirect through the builtin_vectorization_cost target hook: int stmt_cost = defaul