[PATCH] D14092: AMDGPU: Make flat_scr name consistent
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 27 14:31:17 PDT 2015
arsenm updated this revision to Diff 38597.
arsenm added a comment.
Invert because sc does it the other way
http://reviews.llvm.org/D14092
Files:
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
Index: lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
===================================================================
--- lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+++ lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
@@ -485,11 +485,11 @@
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14092.38597.patch
Type: text/x-patch
Size: 810 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151027/eac2d28d/attachment.bin>
More information about the llvm-commits
mailing list