]> granicus.if.org Git - llvm/commitdiff
[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?

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

lib/Target/X86/X86FloatingPoint.cpp

index 30709e0dfe091fabf1f92b84f6433deb9075bdfc..452db72d8fc8dc732dc111598b37f7b7d624df17 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();