diff options
author | Sean Callanan <scallanan@apple.com> | 2012-04-26 20:51:20 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2012-04-26 20:51:20 +0000 |
commit | 822944c97deb7a9a3bb242a2b7a944edf01647d7 (patch) | |
tree | 8bfc56a6806ff4e4a50108d0b6cc87c76c3da050 /lldb/source/Expression/IRForTarget.cpp | |
parent | 3d6c629e26d116319131812f4d8c5cfcd64b866a (diff) | |
download | bcm5719-llvm-822944c97deb7a9a3bb242a2b7a944edf01647d7.tar.gz bcm5719-llvm-822944c97deb7a9a3bb242a2b7a944edf01647d7.zip |
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.
llvm-svn: 155660
Diffstat (limited to 'lldb/source/Expression/IRForTarget.cpp')
-rw-r--r-- | lldb/source/Expression/IRForTarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp index fe826cf80ed..db0cdba463a 100644 --- a/lldb/source/Expression/IRForTarget.cpp +++ b/lldb/source/Expression/IRForTarget.cpp @@ -2041,7 +2041,7 @@ IRForTarget::ReplaceStaticLiterals (llvm::BasicBlock &basic_block) 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); |