Sometimes the an instruction we are trying to widen is used by the IV
(which means the instruction is the IV increment). Currently this may
prevent its widening. We should ignore such user because it will be
dead once the transform is done anyways.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM thanks.
llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | ||
---|---|---|
1572 | nit: maybe add the same comment as below? |
nit: maybe add the same comment as below?