2017-08-02 08:28:10 +08:00
|
|
|
; RUN: llc < %s -code-model=large -mcpu=core2 -mtriple=x86_64-- -O0 | FileCheck %s
|
2014-12-28 23:20:57 +08:00
|
|
|
|
|
|
|
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
|
2015-03-14 02:20:45 +08:00
|
|
|
%call = call i64* undef(i64* undef, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str10, i32 0, i32 0))
|
2014-12-28 23:20:57 +08:00
|
|
|
ret void
|
|
|
|
}
|