[opaque pointer type] Add textual IR support for explicit type parameter to gep operator
[oota-llvm.git] / test / CodeGen / X86 / large-code-model-isel.ll
1 ; RUN: llc < %s -code-model=large -mcpu=core2 -march=x86-64 -O0 | FileCheck %s
2
3 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
4
5 @.str10 = external unnamed_addr constant [2 x i8], align 1
6
7 define void @foo() {
8 ; CHECK-LABEL: foo:
9 entry:
10 ; CHECK: callq
11   %call = call i64* undef(i64* undef, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str10, i32 0, i32 0))
12   ret void
13 }