Remove a FIXME.
authorEric Christopher <echristo@gmail.com>
Thu, 26 Feb 2015 00:00:35 +0000 (00:00 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 26 Feb 2015 00:00:35 +0000 (00:00 +0000)
Explanation: This function is in TargetLowering because it uses
RegClassForVT which would need to be moved to TargetRegisterInfo
and would necessitate moving isTypeLegal over as well - a massive
change that would just require TargetLowering having a TargetRegisterInfo
class member that it would use.

llvm-svn: 230585

llvm/lib/Target/X86/X86ISelLowering.cpp

index 16ba662..3948909 100644 (file)
@@ -1930,7 +1930,6 @@ getPICJumpTableRelocBaseExpr(const MachineFunction *MF, unsigned JTI,
   return MCSymbolRefExpr::Create(MF->getPICBaseSymbol(), Ctx);
 }
 
-// FIXME: Why this routine is here? Move to RegInfo!
 std::pair<const TargetRegisterClass *, uint8_t>
 X86TargetLowering::findRepresentativeClass(const TargetRegisterInfo *TRI,
                                            MVT VT) const {