aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-object-export.h
diff options
context:
space:
mode:
authorliuhongt <hongtao.liu@intel.com>2023-04-03 10:54:55 +0800
committerliuhongt <hongtao.liu@intel.com>2023-04-19 13:23:29 +0800
commit727be65ec40e119a7c864bfaa5d6a73547863c06 (patch)
tree3d35c883aacdfedd3a58d43cc5ed10066f0a4de8 /gcc/rust/rust-object-export.h
parentd5cd3eada416a89e6478b1b1c874115574eb19a8 (diff)
downloadgcc-727be65ec40e119a7c864bfaa5d6a73547863c06.zip
gcc-727be65ec40e119a7c864bfaa5d6a73547863c06.tar.gz
gcc-727be65ec40e119a7c864bfaa5d6a73547863c06.tar.bz2
Check hard_regno_mode_ok before setting lowest memory move cost for the mode with different reg classes.
There's a potential performance issue when backend returns some unreasonable value for the mode which can be never be allocate with reg class. gcc/ChangeLog: PR rtl-optimization/109351 * ira.cc (setup_class_subset_and_memory_move_costs): Check hard_regno_mode_ok before setting lowest memory move cost for the mode with different reg classes.
Diffstat (limited to 'gcc/rust/rust-object-export.h')
0 files changed, 0 insertions, 0 deletions