Skip to content

Commit a6161a2

Browse files
committed
[Instrumentation] Remove unused variable 'DL' in MemProfiler.cpp (NFC)
llvm-project/llvm/lib/Transforms/Instrumentation/MemProfiler.cpp:375:21: error: unused variable 'DL' [-Werror,-Wunused-variable] const DataLayout &DL = I->getModule()->getDataLayout(); ^ 1 error generated.
1 parent f8262ca commit a6161a2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Transforms/Instrumentation/MemProfiler.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,6 @@ MemProfiler::isInterestingMemoryAccess(Instruction *I) const {
372372
return std::nullopt;
373373
}
374374

375-
const DataLayout &DL = I->getModule()->getDataLayout();
376375
return Access;
377376
}
378377

0 commit comments

Comments
 (0)