From: Craig Topper Date: Wed, 30 Jan 2019 08:04:06 +0000 (+0000) Subject: [X86] Remove unnecessary code from the top of handleCompareFP in X86FloatingPoint... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c35ddbd43e57090947d74b7670d53ee1106c50f2;p=llvm [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 --- 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();