Skip to content

Commit 3ab0e95

Browse files
committed
[polly] Remove unused variable in ScopBuilder.cpp (NFC)
/llvm-project/polly/lib/Analysis/ScopBuilder.cpp:2725:18: error: unused variable 'DT' [-Werror,-Wunused-variable] DominatorTree *DT = Stmt.getParent()->getDT(); ^ 1 error generated.
1 parent c69ed8a commit 3ab0e95

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

polly/lib/Analysis/ScopBuilder.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2722,7 +2722,6 @@ void ScopBuilder::checkForReductions(ScopStmt &Stmt) {
27222722
// instruction not in that chain.
27232723
using MemAccPair = std::pair<MemoryAccess *, MemoryAccess *>;
27242724
DenseMap<MemAccPair, MemoryAccess::ReductionType> ValidCandidates;
2725-
DominatorTree *DT = Stmt.getParent()->getDT();
27262725

27272726
// Iterate over all write memory accesses and check the loads flowing into
27282727
// it for reduction candidate pairs.

0 commit comments

Comments
 (0)