2010-05-29 09:35:22 +08:00
|
|
|
; RUN: llc < %s -mtriple=i386-unknown-unknown | FileCheck %s
|
|
|
|
; PR7193
|
|
|
|
|
|
|
|
define void @t1(i8* inreg %dst, i8* inreg %src, i8* inreg %len) nounwind {
|
|
|
|
; CHECK: t1:
|
2010-09-22 13:49:14 +08:00
|
|
|
; CHECK: calll 0
|
2010-05-29 09:35:22 +08:00
|
|
|
tail call void null(i8* inreg %dst, i8* inreg %src, i8* inreg %len) nounwind
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
define void @t2(i8* inreg %dst, i8* inreg %src, i8* inreg %len) nounwind {
|
|
|
|
; CHECK: t2:
|
|
|
|
; CHECK: jmpl
|
|
|
|
tail call void null(i8* inreg %dst, i8* inreg %src) nounwind
|
|
|
|
ret void
|
|
|
|
}
|