2009-09-09 08:09:15 +08:00
|
|
|
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
2007-07-06 21:15:51 +08:00
|
|
|
; RUN: grep {li 6, 3}
|
2009-09-09 08:09:15 +08:00
|
|
|
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
2007-07-06 21:15:51 +08:00
|
|
|
; RUN: grep {li 4, 2}
|
2009-09-09 08:09:15 +08:00
|
|
|
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
2007-07-06 21:15:51 +08:00
|
|
|
; RUN: grep {li 3, 0}
|
2009-09-09 08:09:15 +08:00
|
|
|
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
2007-07-06 21:15:51 +08:00
|
|
|
; RUN: grep {mr 5, 3}
|
2007-07-06 04:12:34 +08:00
|
|
|
|
|
|
|
declare void @bar(i64 %x, i64 %y)
|
|
|
|
|
|
|
|
define void @foo() {
|
|
|
|
call void @bar(i64 2, i64 3)
|
|
|
|
ret void
|
|
|
|
}
|