21 lines · plain
1; The purpose of this test to verify that the fltused symbol is2; emitted when a floating point call is made on Windows.3 4; RUN: llc < %s -mtriple i686-pc-win32 | FileCheck %s --check-prefix WIN325; RUN: llc < %s -mtriple x86_64-pc-win32 | FileCheck %s --check-prefix WIN646; RUN: llc < %s -O0 -mtriple i686-pc-win32 | FileCheck %s --check-prefix WIN327; RUN: llc < %s -O0 -mtriple x86_64-pc-win32 | FileCheck %s --check-prefix WIN648 9@.str = private constant [4 x i8] c"%f\0A\00"10 11define i32 @main() nounwind {12entry:13 %call = tail call i32 (ptr, ...) @printf(ptr @.str, double 1.000000e+000) nounwind14 ret i32 015}16 17declare i32 @printf(ptr nocapture, ...) nounwind18 19; WIN32: .globl __fltused20; WIN64: .globl _fltused21