Related to https://reviews.llvm.org/D80916
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Move code that unconditionally modifiy the loop *after* the structural check, to avoid returning false while some changes happened.
It passes validation, and I did a quick check, the change looks fine, but I'd be happy to take an extra review from someone more familiar with the codebase.
This comment was removed by serge-sans-paille.
Comment Actions
LGTM.
llvm/lib/Transforms/Scalar/LoopDistribute.cpp | ||
---|---|---|
809 | Nit: unsure why you added braces but I think we prefer without. |
It doesn't really matter but... aren't these variables usually called "Changed"?