[llvm-commits] [llvm] r92934 - /llvm/trunk/lib/Target/X86/X86FastISel.cpp

Eric Christopher echristo at apple.com
Thu Jan 7 14:00:28 PST 2010


On Jan 7, 2010, at 1:10 PM, Dan Gohman wrote:

> 
> On Jan 7, 2010, at 11:45 AM, Eric Christopher wrote:
>> 
>> +  // If we've gotten here we need to make sure we don't have a constant
>> +  // that needs a relocation, because then we shouldn't put it into the
>> +  // constant pool.
>> +  if (C->getRelocationInfo() != Constant::NoRelocation)
>> +    return 0;
> 
> Would Constant::LocalRelocation be ok here?

It could be, but I'm not sure what the advantage would be to allowing anything with a relocation into the constant pool?

-eric



More information about the llvm-commits mailing list