Re: [59/77] Add a rtx_jump_table_data::get_data_mode helper

2017-08-24 Thread Jeff Law
On 07/13/2017 02:59 AM, Richard Sandiford wrote: > This patch adds a helper function to get the mode of the addresses > or offsets in a jump table. It also changes the final.c code to use > rtx_jump_table_data over rtx or rtx_insn in cases where it needed > to use the new helper. This in turn mea

[59/77] Add a rtx_jump_table_data::get_data_mode helper

2017-07-13 Thread Richard Sandiford
This patch adds a helper function to get the mode of the addresses or offsets in a jump table. It also changes the final.c code to use rtx_jump_table_data over rtx or rtx_insn in cases where it needed to use the new helper. This in turn meant adding a safe_dyn_cast equivalent of safe_as_a, to cop