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