1 ; RUN: llc -mtriple="i386-pc-mingw32" < %s | FileCheck %s
6 define internal x86_stdcallcc void @MyFunc() nounwind {
14 define x86_stdcallcc i32 @"\01DoNotMangle"(i32 %a) {
21 %struct.large_type = type { i64, i64, i64 }
23 define x86_stdcallcc void @ReturnLargeType(ptr noalias nocapture sret(%struct.large_type) align 8 %agg.result) {
24 ; CHECK: ReturnLargeType@0:
27 store i64 123, ptr %agg.result, align 8
28 %b = getelementptr inbounds %struct.large_type, ptr %agg.result, i32 0, i32 1
29 store i64 456, ptr %b, align 8
30 %c = getelementptr inbounds %struct.large_type, ptr %agg.result, i32 0, i32 2
31 store i64 789, ptr %c, align 8
35 @B = global %0 { ptr @MyFunc }, align 4
37 ; CHECK: .long _MyFunc@0