[Lldb-commits] [lldb] r155660 - /lldb/trunk/source/Expression/IRForTarget.cpp

Sean Callanan scallanan at apple.com
Thu Apr 26 13:51:20 PDT 2012


Author: spyffe
Date: Thu Apr 26 15:51:20 2012
New Revision: 155660

URL: http://llvm.org/viewvc/llvm-project?rev=155660&view=rev
Log:
Made the IR interpreter move all floats, not just "wide"
ones, to its own constant pool.  This reflects the fact
that the LLVM code generators for different targets move
floats to their constant pools under varying conditions,
and the JIT cannot (yet) be relied upon to relocate references to
its constant pool correctly.

Modified:
    lldb/trunk/source/Expression/IRForTarget.cpp

Modified: lldb/trunk/source/Expression/IRForTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/IRForTarget.cpp?rev=155660&r1=155659&r2=155660&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRForTarget.cpp (original)
+++ lldb/trunk/source/Expression/IRForTarget.cpp Thu Apr 26 15:51:20 2012
@@ -2041,7 +2041,7 @@
             
             ConstantFP *operand_constant_fp = dyn_cast<ConstantFP>(operand_val);
             
-            if (operand_constant_fp && operand_constant_fp->getType()->isX86_FP80Ty())
+            if (operand_constant_fp/* && operand_constant_fp->getType()->isX86_FP80Ty()*/)
             {
                 static_constants.push_back(operand_val);
                 static_users.push_back(ii);





More information about the lldb-commits mailing list