aboutsummaryrefslogblamecommitdiff
path: root/test/CodeGen/PowerPC/big-endian-formal-args.ll
blob: 638059a38ef5e063fd449466875e065b9344bdc8 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                              


                                 
                
                
                
                
 



                              
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | FileCheck %s

declare void @bar(i64 %x, i64 %y)

; CHECK: li 3, 0
; CHECK: li 4, 2
; CHECK: li 5, 0
; CHECK: li 6, 3

define void @foo() {
  call void @bar(i64 2, i64 3)
  ret void
}