diff options
author | Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> | 2022-09-11 20:51:15 +0900 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2022-09-12 12:37:07 -0700 |
commit | 936efcac733fe49e5ea9e636403e5941f24ff1b3 (patch) | |
tree | 8658fdc1d915f0946bb766b846f74b45a557f048 /gcc/tree-ssa.cc | |
parent | db19cfdac8ede93172aecc58612171c239c993ad (diff) | |
download | gcc-936efcac733fe49e5ea9e636403e5941f24ff1b3.zip gcc-936efcac733fe49e5ea9e636403e5941f24ff1b3.tar.gz gcc-936efcac733fe49e5ea9e636403e5941f24ff1b3.tar.bz2 |
xtensa: Implement new target hook: TARGET_CONSTANT_OK_FOR_CPROP_P
This patch implements new target hook TARGET_CONSTANT_OK_FOR_CPROP_P in
order to exclude CONST_INTs that cannot fit into a MOVI machine instruction
from cprop.
gcc/ChangeLog:
* config/xtensa/xtensa.cc (TARGET_CONSTANT_OK_FOR_CPROP_P):
New macro definition.
(xtensa_constant_ok_for_cprop_p):
Implement the hook as mentioned above.
Diffstat (limited to 'gcc/tree-ssa.cc')
0 files changed, 0 insertions, 0 deletions