aboutsummaryrefslogtreecommitdiff
path: root/tests/cases/bigdouble.ll
blob: 472adaddcb016d6906cd854b81388a69210a84f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; ModuleID = '/tmp/tmpijH2sB/a.out.bc'
target datalayout = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-p:32:32:32-v128:32:128-n32-S128"
target triple = "asmjs-unknown-emscripten"

@.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1

; Function Attrs: nounwind
define i32 @main() #0 {
  %1 = fmul double 0x370000000000000, 1.0e+300
  %2 = tail call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([4 x i8]* @.str, i32 0, i32 0), double %1)
  ret i32 0
}

; Function Attrs: nounwind
declare i32 @printf(i8* nocapture, ...) #0

attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }