]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/nds32/nds32.c
[NDS32] Add strict_aligned_p to machine_function and implement TARGET_EXPAND_TO_RTL_HOOK.
authorChung-Ju Wu <jasonwucj@gmail.com>
Sun, 8 Apr 2018 11:14:09 +0000 (11:14 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Sun, 8 Apr 2018 11:14:09 +0000 (11:14 +0000)
commit5f2a98c3f5a3ce1cb169abaf23fe7a031ae88043
tree969e2f39722169d85a7a85b3c7a70d147964a1c9
parent63ab910dd75cce3d9e595879465d6ea5fdf13602
[NDS32] Add strict_aligned_p to machine_function and implement TARGET_EXPAND_TO_RTL_HOOK.

gcc/
* config/nds32/nds32.c (nds32_init_machine_status,
nds32_legitimate_index_p, nds32_legitimate_address_p): Consider
strict_aligned_p field.
(nds32_expand_to_rtl_hook): New function.
(TARGET_EXPAND_TO_RTL_HOOK): Define.
* config/nds32/nds32.h (machine_function): Add strict_aligned_p field.

From-SVN: r259222
gcc/ChangeLog
gcc/config/nds32/nds32.c
gcc/config/nds32/nds32.h