llvm.org GIT mirror llvm / release_70 test / CodeGen / PowerPC / big-endian-formal-args.ll
release_70

Tree @release_70 (Download .tar.gz)

big-endian-formal-args.ll @release_70raw · history · blame

; RUN: llc -verify-machineinstrs < %s -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
}