summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FloatingPoint.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-01-30 08:04:06 +0000
committerCraig Topper <craig.topper@intel.com>2019-01-30 08:04:06 +0000
commit11133d2531f392bc44d9baaa6bee78e8e246b5eb (patch)
treeee9acc641b0028e07f8739b65d7a0380df918040 /llvm/lib/Target/X86/X86FloatingPoint.cpp
parent594f76aea26026ca398c85ca646647d39cde311d (diff)
downloadbcm5719-llvm-11133d2531f392bc44d9baaa6bee78e8e246b5eb.tar.gz
bcm5719-llvm-11133d2531f392bc44d9baaa6bee78e8e246b5eb.zip
[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? llvm-svn: 352609
Diffstat (limited to 'llvm/lib/Target/X86/X86FloatingPoint.cpp')
-rw-r--r--llvm/lib/Target/X86/X86FloatingPoint.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86FloatingPoint.cpp b/llvm/lib/Target/X86/X86FloatingPoint.cpp
index 30709e0dfe0..452db72d8fc 100644
--- a/llvm/lib/Target/X86/X86FloatingPoint.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud