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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230585 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 16ba6626fd3e560e57e474667567d60ca48548b3..394890991a26dc1a6dca2d14d2cb41553c0d1b52 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 {