Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1096)

Unified Diff: tests_lit/llvm2ice_tests/fp.pnacl.ll

Issue 348373005: Bitcast of 64-bit immediates may need to split the immediate, not a var. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: move and add a comment Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests_lit/llvm2ice_tests/bitcast.ll ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « tests_lit/llvm2ice_tests/bitcast.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698