If the G_BR + G_BRCOND in this combine use the same MBB, then it will infinite loop. Don't allow that to happen.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | ||
---|---|---|
974 | I would check this first (also reformat as return X || Y) |
I would check this first (also reformat as return X || Y)