From e12500f5e3428c74fd8eca68e957960d1f93874e Mon Sep 17 00:00:00 2001
From: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Tue, 8 Dec 2015 13:42:29 -0500
Subject: [PATCH] fp constant loading must be done on phi

---
 lisc/FP | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisc/FP b/lisc/FP
index 3559a00..5261175 100644
--- a/lisc/FP
+++ b/lisc/FP
@@ -27,6 +27,8 @@ Roadmap in isel.
 	through a memory load.  The load can be fused in some
 	instructions (add, sub, mul, div).  This should be
 	handled similarly to the large integer constants.
+	Note: contrary to large constants, the transformation
+	also needs to be run on phi nodes!
 
 	Complete ABI implementation, we should only need the
 	movsd instruction to transfer between sse registers and