I want to add the following line to my llvm code (as specified in the ptx backend documentation):
%1 = internal addrspace(3) global [4 x i32] [ i32 0, i32 1, i32 2, i32 3 ]
However, I get the following error:
expected instruction opcode
@g = internal addrspace(3) global [4 x i32] [ i32 0, i32 1, i32 2, i32 3 ]
^
What am I doing wrong?