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.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155660 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/IRForTarget.cpp b/source/Expression/IRForTarget.cpp
index fe826cf..db0cdba 100644
--- a/source/Expression/IRForTarget.cpp
+++ b/source/Expression/IRForTarget.cpp
@@ -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);