General cleanup of ComplexDeinterleavingPass; adding more correct checks to make the pass more tolerant, and updating comments to be more accurate.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp | ||
---|---|---|
642–656 | I think I find the existing code easier to follow and read. And it is more explicit about matching adds. Neither are super pretty, but I think I would recommend keeping what was there before. | |
857 | This could actually be part of the other patch, if it the first part to introduce single element nodes. |
Comment Actions
This LGTM but please make sure the correct parts are in the correct patches. I don't think this will actually build on its own.
llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp | ||
---|---|---|
817 | I think this is in the wrong patch now? |
Comment Actions
If you can move the identifySymmetricOperation call to the other patch then what remains LGTM. Thanks.
I think I find the existing code easier to follow and read. And it is more explicit about matching adds. Neither are super pretty, but I think I would recommend keeping what was there before.