Michael Kuperstein | b34de72 | 2015-11-04 11:17:53 +0000 | [diff] [blame^] | 1 | ; RUN: llc < %s | FileCheck %s |
2 | |||||
3 | target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128" | ||||
4 | target triple = "i386-pc-linux" | ||||
5 | |||||
6 | ; Function Attrs: nounwind | ||||
7 | ; CHECK-LABEL: ll_to_d: | ||||
8 | ; CHECK: calll __floatdidf | ||||
9 | define double @ll_to_d(i64 %n) #0 { | ||||
10 | entry: | ||||
11 | %conv = sitofp i64 %n to double | ||||
12 | ret double %conv | ||||
13 | } | ||||
14 | |||||
15 | attributes #0 = { nounwind "use-soft-float"="true" } |