1 ; RUN: llc < %s -mtriple powerpc64le-unknown-linux-gnu
3 ; void llvm::MachineMemOperand::refineAlignment(const llvm::MachineMemOperand*):
4 ; Assertion `MMO->getFlags() == getFlags() && "Flags mismatch !"' failed.
6 declare void @_Z3fn11F(ptr byval(%class.F) align 8) local_unnamed_addr
7 declare void @llvm.memcpy.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1)
8 declare signext i32 @_ZN1F11isGlobalRegEv(ptr) local_unnamed_addr
9 declare void @llvm.lifetime.start.p0(i64, ptr nocapture)
10 declare void @_Z10EmitLValuev(ptr sret(%class.F)) local_unnamed_addr
11 declare void @llvm.lifetime.end.p0(i64, ptr nocapture)
13 %class.F = type { i32, i64, i8, [64 x i8], i8, ptr }
15 define signext i32 @_Z29EmitOMPAtomicSimpleUpdateExpr1F(ptr byval(%class.F) align 8 %p1) local_unnamed_addr {
17 call void @_Z3fn11F(ptr byval(%class.F) nonnull align 8 %p1)
18 %call = call signext i32 @_ZN1F11isGlobalRegEv(ptr nonnull %p1)
22 define void @_Z3fn2v() local_unnamed_addr {
24 %agg.tmp1 = alloca %class.F, align 8
25 %XLValue = alloca %class.F, align 8
26 call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %XLValue)
27 call void @_Z10EmitLValuev(ptr nonnull sret(%class.F) %XLValue)
28 call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %agg.tmp1)
29 call void @llvm.memcpy.p0.p0.i64(ptr align 8 nonnull %agg.tmp1, ptr align 8 nonnull %XLValue, i64 96, i1 false)
30 call void @_Z3fn11F(ptr byval(%class.F) nonnull align 8 %XLValue)
31 %call.i = call signext i32 @_ZN1F11isGlobalRegEv(ptr nonnull %agg.tmp1)
32 call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %agg.tmp1)
33 call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %XLValue)