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