Fix MOVE_OPERATORS pass #84

Merged
Alexander_KS merged 6 commits from egormayorov into master 2026-05-05 18:00:34 +03:00
Showing only changes of commit 3465feca35 - Show all commits

View File

@@ -5,18 +5,14 @@
#include <algorithm> #include <algorithm>
#include <cstring> #include <cstring>
#include <cstdlib> #include <cstdlib>
#include <cmath>
#include <climits>
#include <functional> #include <functional>
#include <cctype> #include <cctype>
#include "../../Utils/errors.h" #include "../../Utils/errors.h"
#include "../../Utils/SgUtils.h" #include "../../Utils/SgUtils.h"
#include "../../GraphCall/graph_calls.h" #include "../../GraphCall/graph_calls.h"
#include "../../GraphCall/graph_calls_func.h"
#include "../../CFGraph/CFGraph.h" #include "../../CFGraph/CFGraph.h"
#include "../../CFGraph/IR.h" #include "../../CFGraph/IR.h"
#include "../../GraphLoop/graph_loops.h"
#include "move_operators.h" #include "move_operators.h"
using namespace std; using namespace std;
@@ -102,8 +98,6 @@ static bool isBasicBlockInAnyLoop(const SAPFOR::BasicBlock* bb, const vector<SgS
if (!first || !last) if (!first || !last)
return false; return false;
for (auto* loop : loops) for (auto* loop : loops)
if (loop && isParentStmt(first, loop) && isParentStmt(last, loop)) if (loop && isParentStmt(first, loop) && isParentStmt(last, loop))
return true; return true;