• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple="i386-pc-mingw32" < %s | FileCheck %s
2; PR5851
3
4%0 = type { void (...)* }
5
6define internal x86_stdcallcc void @MyFunc() nounwind {
7entry:
8; CHECK: MyFunc@0:
9; CHECK: retl
10  ret void
11}
12
13; PR14410
14define x86_stdcallcc i32 @"\01DoNotMangle"(i32 %a) {
15; CHECK: DoNotMangle:
16; CHECK: retl $4
17entry:
18  ret i32 %a
19}
20
21@B = global %0 { void (...)* bitcast (void ()* @MyFunc to void (...)*) }, align 4
22; CHECK: _B:
23; CHECK: .long _MyFunc@0
24
25