mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove ReasoningBasedSimplifier from libyul
Due to a design decision to move away from a bundled SMT solver, ReasoningBasedSimplifier in its current form cannot be use any longer. This is a necessary step to allow a unified way to call solvers using only SMTLIB interface. Since this optimization pass has always been marked as highly experimental and never turned on by default, it should be OK to remove it.
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
#include <test/Common.h>
|
||||
|
||||
#include <libyul/Object.h>
|
||||
#include <libyul/optimiser/ReasoningBasedSimplifier.h>
|
||||
#include <libyul/AsmPrinter.h>
|
||||
|
||||
#include <liblangutil/CharStreamProvider.h>
|
||||
@@ -53,12 +52,6 @@ YulOptimizerTest::YulOptimizerTest(string const& _filename):
|
||||
BOOST_THROW_EXCEPTION(runtime_error("Filename path has to contain a directory: \"" + _filename + "\"."));
|
||||
m_optimizerStep = std::prev(std::prev(path.end()))->string();
|
||||
|
||||
if (m_optimizerStep == "reasoningBasedSimplifier" && (
|
||||
solidity::test::CommonOptions::get().disableSMT ||
|
||||
ReasoningBasedSimplifier::invalidInCurrentEnvironment()
|
||||
))
|
||||
m_shouldRun = false;
|
||||
|
||||
m_source = m_reader.source();
|
||||
|
||||
auto dialectName = m_reader.stringSetting("dialect", "evm");
|
||||
|
||||
Reference in New Issue
Block a user