Don't reassociate (C1+C2)+Y -> C1+(C2+Y).
Details
Details
- Reviewers
aemerson - Group Reviewers
Restricted Project - Commits
- rGa1a9c53ae7f1: [GlobalISel] Fix infinite loop in reassociation combine
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | ||
---|---|---|
4478–4484 | I tried, but I'm not super confident about the explanation for why we are doing these reassociations in the first place. |
Ca you add a comment here to explain why we do the second constant check.