diff options
author | liuhongt <hongtao.liu@intel.com> | 2023-02-08 12:42:27 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2023-04-23 09:56:06 +0800 |
commit | 0368d169492017cfab5622d38b15be94154d458c (patch) | |
tree | 3fcf3a546107467699d2e329abd7a17407c17fc7 /gcc/tree-ssa-phiopt.cc | |
parent | 6ab856aa49bef7c04efa6144a5048e129b3a058b (diff) | |
download | gcc-0368d169492017cfab5622d38b15be94154d458c.zip gcc-0368d169492017cfab5622d38b15be94154d458c.tar.gz gcc-0368d169492017cfab5622d38b15be94154d458c.tar.bz2 |
Use NO_REGS in cost calculation when the preferred register class are not known yet.
gcc/ChangeLog:
PR rtl-optimization/108707
* ira-costs.cc (scan_one_insn): Use NO_REGS instead of
GENERAL_REGS when preferred reg_class is not known.
gcc/testsuite/ChangeLog:
* gcc.target/i386/pr108707.c: New test.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions