This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / CodeGen / X86 / dll-linkage.ll
bloba0c2a54a99a468a841325edaa92e51296d2ec86a
1 ; RUN: llc < %s -mtriple=i386-pc-mingw32 | FileCheck %s
3 ; RUN: llc < %s -mtriple=i386-pc-mingw32 -O0 | FileCheck %s -check-prefix=FAST
4 ; PR6275
6 declare dllimport void @foo()
8 define void @bar() nounwind {
9 ; CHECK: calll  *__imp__foo
10 ; FAST:  movl   __imp__foo, [[R:%[a-z]{3}]]
11 ; FAST:  calll  *[[R]]
12   call void @foo()
13   ret void