Add a new gpu arch gfx906+sram-ecc for HIP.
It is similar to gfx906 but implies target feature sram-ecc enabled,
whereas gfx906 implies target sram-ecc disabled. Corresponding
option -mattr=[+|-]sram-ecc will be passed to llc based on the
gpu arch.
Wording nit:
Does it mean +(SRAM, ECC) or +SRAM, -ECC ?
From the rest of the changes I guess it's the former, but the syntax used can easily be interpreted as the later.
Perhaps change the feature name to sram_ecc and GPU name to something less verbose. gfx906se ?