You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
381 B
10 lines
381 B
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
|
|
@G = global [4 x i32] zeroinitializer
|
|
|
|
; CHECK-LABEL: @foo
|
|
; CHECK: ret <4 x i32*> getelementptr inbounds ([4 x i32], [4 x i32]* @G, <4 x i32> zeroinitializer, <4 x i32> <i32 0, i32 1, i32 2, i32 3>)
|
|
define <4 x i32*> @foo() {
|
|
ret <4 x i32*> getelementptr ([4 x i32], [4 x i32]* @G, i32 0, <4 x i32> <i32 0, i32 1, i32 2, i32 3>)
|
|
}
|