llvm.org GIT mirror llvm / ece90bb
AMDGPU: Set SubRegIndex size and offset I'm not sure what reasons the comment here could have had for not setting these. Without these set, there is an assertion hit during DWARF emission. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243661 91177308-0d34-0410-b5e6-96231b3b80d8 Matt Arsenault 5 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1313 let Namespace = "AMDGPU" in {
1414
1515 foreach Index = 0-15 in {
16 // Indices are used in a variety of ways here, so don't set a size/offset.
17 def sub#Index : SubRegIndex<-1, -1>;
16 def sub#Index : SubRegIndex<32, !shl(Index, 5)>;
1817 }
1918
2019 def INDIRECT_BASE_ADDR : Register <"INDIRECT_BASE_ADDR">;