aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.cc
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2020-03-26 21:22:45 +0000
committerAndrew Stubbs <ams@codesourcery.com>2022-10-11 11:37:10 +0100
commit0d8753cf30486c4e7fb07455b7cae49aa812c6a4 (patch)
tree9ade043577b6405a2e0977e6d1b3e4e51eb8d347 /gcc/value-range.cc
parent45381d6f9f4e7b5c7b062f5ad8cc9788091c2d07 (diff)
downloadgcc-0d8753cf30486c4e7fb07455b7cae49aa812c6a4.zip
gcc-0d8753cf30486c4e7fb07455b7cae49aa812c6a4.tar.gz
gcc-0d8753cf30486c4e7fb07455b7cae49aa812c6a4.tar.bz2
amdgcn: Resolve insn conditions at compile time
GET_MODE_NUNITS isn't a compile time constant, so we end up with many impossible insns in the machine description. Adding MODE_VF allows the insns to be eliminated completely. gcc/ChangeLog: * config/gcn/gcn-valu.md (<cvt_name><VCVT_MODE:mode><VCVT_FMODE:mode>2<exec>): Use MODE_VF. (<cvt_name><VCVT_FMODE:mode><VCVT_IMODE:mode>2<exec>): Likewise. * config/gcn/gcn.h (MODE_VF): New macro.
Diffstat (limited to 'gcc/value-range.cc')
0 files changed, 0 insertions, 0 deletions