[PATCH] D82927: Intergerate Loop Peeling into Loop Fusion
Jordan Rupprecht via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 21 09:33:05 PDT 2020
rupprecht marked an inline comment as done.
rupprecht added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopFuse.cpp:395-397
// Do not save PDT to local variable as it is only used in asserts and thus
// will trigger an unused variable warning if building without asserts.
+ assert(DT && PDT && "Expecting valid dominator tree");
----------------
FYI, the comment here explains why PDT should not be extracted to a var, which this patch did. Perhaps a previous version of this patch needed it? Fixed in 1ee1da1ea5728c2fe07bbf18bb25728ac3512e92.
```
[1075/3350] Building CXX object lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/LoopFuse.cpp.o
/home/rupprecht/src/llvm-project/llvm/lib/Transforms/Scalar/LoopFuse.cpp:390:30: warning: unused variable 'PDT' [-Wunused-variable]
const PostDominatorTree *PDT = LHS.PDT;
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82927/new/
https://reviews.llvm.org/D82927
More information about the llvm-commits
mailing list