[NDS32] Refine CASE_VECTOR_SHORTEN_MODE to function.
authorShiva Chen <shiva0217@gmail.com>
Sun, 22 Apr 2018 08:42:18 +0000 (08:42 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Sun, 22 Apr 2018 08:42:18 +0000 (08:42 +0000)
commit2f1bb3ca9170534db2cf2df6cf4ff61a4dd6145b
tree91e52c3020c6f09fd36314fbb51e8aad4b153d71
parent361292be13045d2ed2812b26bb6c634b60e155df
[NDS32] Refine CASE_VECTOR_SHORTEN_MODE to function.

gcc/
* config/nds32/nds32-protos.h (nds32_case_vector_shorten_mode):
Declare.
* config/nds32/nds32.c (nds32_case_vector_shorten_mode): New function.
* config/nds32/nds32.h (CASE_VECTOR_SHORTEN_MODE): Modify.

Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com>
From-SVN: r259550
gcc/ChangeLog
gcc/config/nds32/nds32-protos.h
gcc/config/nds32/nds32.c
gcc/config/nds32/nds32.h