linux-packaging-mono/external/llvm/test/CodeGen/X86/large-code-model-isel.ll
Xamarin Public Jenkins (auto-signing) 8e12397d70 Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
2018-11-16 08:20:38 +00:00

14 lines
391 B
LLVM

; RUN: llc < %s -code-model=large -mcpu=core2 -mtriple=x86_64-- -O0 | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
@.str10 = external unnamed_addr constant [2 x i8], align 1
define void @foo() {
; CHECK-LABEL: foo:
entry:
; CHECK: callq
%call = call i64* undef(i64* undef, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str10, i32 0, i32 0))
ret void
}