39 lines · plain
1; RUN: llc -mtriple="i386-pc-mingw32" < %s | FileCheck %s2; PR58513 4%0 = type { ptr }5 6define internal x86_stdcallcc void @MyFunc() nounwind {7entry:8; CHECK: MyFunc@0:9; CHECK: retl10 ret void11}12 13; PR1441014define x86_stdcallcc i32 @"\01DoNotMangle"(i32 %a) {15; CHECK: DoNotMangle:16; CHECK: retl $417entry:18 ret i32 %a19}20 21%struct.large_type = type { i64, i64, i64 }22 23define x86_stdcallcc void @ReturnLargeType(ptr noalias nocapture sret(%struct.large_type) align 8 %agg.result) {24; CHECK: ReturnLargeType@0:25; CHECK: retl26entry:27 store i64 123, ptr %agg.result, align 828 %b = getelementptr inbounds %struct.large_type, ptr %agg.result, i32 0, i32 129 store i64 456, ptr %b, align 830 %c = getelementptr inbounds %struct.large_type, ptr %agg.result, i32 0, i32 231 store i64 789, ptr %c, align 832 ret void33}34 35@B = global %0 { ptr @MyFunc }, align 436; CHECK: _B:37; CHECK: .long _MyFunc@038 39