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
This commit is contained in:
Sean Callanan 2012-04-26 20:51:20 +00:00
parent 3d6c629e26
commit 822944c97d
1 changed files with 1 additions and 1 deletions

View File

@ -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);