From c35ddbd43e57090947d74b7670d53ee1106c50f2 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 30 Jan 2019 08:04:06 +0000 Subject: [PATCH] [X86] Remove unnecessary code from the top of handleCompareFP in X86FloatingPoint.cpp. 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 | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Target/X86/X86FloatingPoint.cpp b/lib/Target/X86/X86FloatingPoint.cpp index 30709e0dfe0..452db72d8fc 100644 --- a/lib/Target/X86/X86FloatingPoint.cpp +++ b/lib/Target/X86/X86FloatingPoint.cpp @@ -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(); -- 2.50.1