llvm-for-llvmta/test/Linker/addrspace.ll

13 lines
286 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llvm-link %s -S | FileCheck %s
@G = addrspace(2) global i32 256
; CHECK: @G = addrspace(2) global i32
@GA = alias i32, i32 addrspace(2)* @G
; CHECK: @GA = alias i32, i32 addrspace(2)* @G
define void @foo() addrspace(3) {
; CHECK: define void @foo() addrspace(3)
ret void
}