forked from OSchip/llvm-project
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:
parent
3d6c629e26
commit
822944c97d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue