[llvm-commits] [llvm] r120343 - /llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h
Jim Grosbach
grosbach at apple.com
Mon Nov 29 15:09:21 PST 2010
Author: grosbach
Date: Mon Nov 29 17:09:20 2010
New Revision: 120343
URL: http://llvm.org/viewvc/llvm-project?rev=120343&view=rev
Log:
Nuke a FIXME. No need to be fancier here, as ARM handles constant pools
locations and formatting specially. rdar://7353441
Modified:
llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h
Modified: llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h?rev=120343&r1=120342&r2=120343&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h (original)
+++ llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h Mon Nov 29 17:09:20 2010
@@ -96,11 +96,7 @@
bool isBlockAddress() { return Kind == ARMCP::CPBlockAddress; }
bool isLSDA() { return Kind == ARMCP::CPLSDA; }
- virtual unsigned getRelocationInfo() const {
- // FIXME: This is conservatively claiming that these entries require a
- // relocation, we may be able to do better than this.
- return 2;
- }
+ virtual unsigned getRelocationInfo() const { return 2; }
virtual int getExistingMachineCPValue(MachineConstantPool *CP,
unsigned Alignment);
More information about the llvm-commits
mailing list