1; RUN: llc %s -o -
2
3; ModuleID = 'undo.c'
4target 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"
5target triple = "powerpc64-unknown-freebsd"
6
7%struct.__sFILE = type {}
8%struct.pos_T = type { i64 }
9
10; check that we're not copying stuff between R and X registers
11define internal void @serialize_pos(%struct.pos_T* byval %pos, %struct.__sFILE* %fp) nounwind {
12entry:
13  ret void
14}
15