mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-20 02:58:10 +00:00
AMDGPU: Make flat_scratch name consistent
The printed name and the parsed assembler names weren't the same. I'm not sure which name SC prints these as, but I think it's this one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8ad4a20d3e
commit
0fa6f807f0
@ -475,11 +475,11 @@ static unsigned getRegForName(StringRef RegName) {
|
||||
return StringSwitch<unsigned>(RegName)
|
||||
.Case("exec", AMDGPU::EXEC)
|
||||
.Case("vcc", AMDGPU::VCC)
|
||||
.Case("flat_scr", AMDGPU::FLAT_SCR)
|
||||
.Case("flat_scratch", AMDGPU::FLAT_SCR)
|
||||
.Case("m0", AMDGPU::M0)
|
||||
.Case("scc", AMDGPU::SCC)
|
||||
.Case("flat_scr_lo", AMDGPU::FLAT_SCR_LO)
|
||||
.Case("flat_scr_hi", AMDGPU::FLAT_SCR_HI)
|
||||
.Case("flat_scratch_lo", AMDGPU::FLAT_SCR_LO)
|
||||
.Case("flat_scratch_hi", AMDGPU::FLAT_SCR_HI)
|
||||
.Case("vcc_lo", AMDGPU::VCC_LO)
|
||||
.Case("vcc_hi", AMDGPU::VCC_HI)
|
||||
.Case("exec_lo", AMDGPU::EXEC_LO)
|
||||
|
Loading…
Reference in New Issue
Block a user