Skip to content

Commit e1db811

Browse files
authored
[AMDGPU] Simplify definition of AddrSpaces. NFC. (llvm#141030)
1 parent d0fbfa6 commit e1db811

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Target/AMDGPU/AMDGPUInstructions.td

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//
1212
//===----------------------------------------------------------------------===//
1313

14-
class AddressSpacesImpl {
14+
def AddrSpaces {
1515
int Flat = 0;
1616
int Global = 1;
1717
int Region = 2;
@@ -21,8 +21,6 @@ class AddressSpacesImpl {
2121
int Constant32Bit = 6;
2222
}
2323

24-
def AddrSpaces : AddressSpacesImpl;
25-
2624

2725
class AMDGPUInst <dag outs, dag ins, string asm = "",
2826
list<dag> pattern = []> : Instruction {

0 commit comments

Comments
 (0)