llvm-project/llvm/test/CodeGen/SystemZ/2009-08-21-InlineAsmRConstr...

22 lines
894 B
LLVM
Raw Normal View History

; RUN: llc < %s
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:16-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:16:16-f128:128:128"
target triple = "s390x-ibm-linux-gnu"
2009-08-22 08:18:11 +08:00
@__JCR_LIST__ = internal global [0 x i8*] zeroinitializer, section ".jcr", align 8 ; <[0 x i8*]*> [#uses=1]
define internal void @frame_dummy() nounwind {
entry:
%asmtmp = tail call void (i8*)* (void (i8*)*)* asm "", "=r,0"(void (i8*)* @_Jv_RegisterClasses) nounwind ; <void (i8*)*> [#uses=2]
2009-08-22 08:18:11 +08:00
%0 = icmp eq void (i8*)* %asmtmp, null ; <i1> [#uses=1]
br i1 %0, label %return, label %bb3
2009-08-22 08:18:11 +08:00
bb3: ; preds = %entry
tail call void %asmtmp(i8* bitcast ([0 x i8*]* @__JCR_LIST__ to i8*)) nounwind
ret void
2009-08-22 08:18:11 +08:00
return: ; preds = %entry
ret void
}
declare extern_weak void @_Jv_RegisterClasses(i8*)