[X86] Remove unnecessary code from the top of handleCompareFP in X86FloatingPoint...
authorCraig Topper <craig.topper@intel.com>
Wed, 30 Jan 2019 08:04:06 +0000 (08:04 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 30 Jan 2019 08:04:06 +0000 (08:04 +0000)
There were checks to ensure some tables were sorted, but those tables aren't used by this function. The same tables are checked in the function that does use them. Maybe this was copy/pasted?

llvm-svn: 352609

llvm/lib/Target/X86/X86FloatingPoint.cpp

index 30709e0..452db72 100644 (file)
@@ -1368,8 +1368,6 @@ void FPS::handleTwoArgFP(MachineBasicBlock::iterator &I) {
 /// register arguments and no explicit destinations.
 ///
 void FPS::handleCompareFP(MachineBasicBlock::iterator &I) {
-  ASSERT_SORTED(ForwardST0Table); ASSERT_SORTED(ReverseST0Table);
-  ASSERT_SORTED(ForwardSTiTable); ASSERT_SORTED(ReverseSTiTable);
   MachineInstr &MI = *I;
 
   unsigned NumOperands = MI.getDesc().getNumOperands();