mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
4bf7d5872e
Upgrade of the IR text tests should be the only thing blocking making typed byval mandatory. Partially done through regex and partially manual.
15 lines
478 B
LLVM
15 lines
478 B
LLVM
; RUN: llc -verify-machineinstrs %s -o -
|
|
|
|
; ModuleID = 'undo.c'
|
|
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
|
|
target triple = "powerpc64-unknown-freebsd"
|
|
|
|
%struct.__sFILE = type {}
|
|
%struct.pos_T = type { i64 }
|
|
|
|
; check that we're not copying stuff between R and X registers
|
|
define internal void @serialize_pos(%struct.pos_T* byval(%struct.pos_T) %pos, %struct.__sFILE* %fp) nounwind {
|
|
entry:
|
|
ret void
|
|
}
|