Since D131958,This commit moves the RegisterInfo Tablegen fileinformation on whether a register is contain the informationstant into
whether a given register is constant or not, so we might as well use thisthe Tablegen files to allow generating the implementaiton of
information to generate the implementation of iisConstantPhysReg().
I've marked isConstantPhysReg() as final in this generated file to ensure
generated file to ensure that changes are made to tablegen instead of overriding this function,
but if that turns out to be too restrictiveoverriding this function, we can remove the qualifier.
This should be pretty much NFC (since the previous commit added thebut if that turns out to be too restrictive,
isConstant flag to all registers handled by isConstantPhysReg(),we can remove the qualifier.
This should be pretty much NFC, but I did notice that e.g. but I didthe AMDGPU
notice that e.g.generated file also includes the AMDGPU generated fileLO16/HI16 registers now.
The new isConstant flag will also includes the LO16/HI16be used by D131958 to ensure that
constant registers nowers are marked as call-preserved.