[NDS32] Add strict_aligned_p to machine_function and implement TARGET_EXPAND_TO_RTL_HOOK.
commit9643d9572e18d1f5d7ed006a8ebb5589728c3d6f
authorjasonwucj <jasonwucj@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Apr 2018 11:14:09 +0000 (8 11:14 +0000)
committerjasonwucj <jasonwucj@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Apr 2018 11:14:09 +0000 (8 11:14 +0000)
tree969e2f39722169d85a7a85b3c7a70d147964a1c9
parent84196186f002f526cc7f2b0c5558de4d4e766bdc
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259222 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/nds32/nds32.c
gcc/config/nds32/nds32.h