Index: tests_lit/llvm2ice_tests/fp.pnacl.ll |
diff --git a/tests_lit/llvm2ice_tests/fp.pnacl.ll b/tests_lit/llvm2ice_tests/fp.pnacl.ll |
index c61ee15ac97adaf63d30400d3a5bd5c25680619a..16957ba7d13ce91457f0ef906088c4ab4bb0554b 100644 |
--- a/tests_lit/llvm2ice_tests/fp.pnacl.ll |
+++ b/tests_lit/llvm2ice_tests/fp.pnacl.ll |
@@ -405,6 +405,17 @@ entry: |
; CHECK: call cvtui64tof |
; CHECK: fstp |
+define internal double @unsigned64ToDoubleConst() { |
+entry: |
+ %conv = uitofp i64 12345678901234 to double |
+ ret double %conv |
+} |
+; CHECK-LABEL: unsigned64ToDouble |
+; CHECK: push 2874 |
+; CHECK: push 1942892530 |
+; CHECK: call cvtui64tod |
+; CHECK: fstp |
+ |
define internal double @signed32ToDouble(i32 %a) { |
entry: |
%conv = sitofp i32 %a to double |