Make getLatchCmpInst non-static and use it in LoopFlatten as a more
robust way of identifying the compare.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I think exposing getLatchCmpInst is useful and makes sense.
The refactoring that this enables also LGTM.
Please wait with committing until tomorrow in case someone else want to have a look.
Nit: do we need the this->?