Only instructions with two or more unique successors should be considered for unswitching.
Details
Details
Diff Detail
Diff Detail
Event Timeline
| llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp | ||
|---|---|---|
| 2552 | Do you really need "== nullptr"? | |
Comment Actions
Addressed Serguei's comment. Serguei, could you please submit this patch? I don't have permissions to submit patches yet.
Do you really need "== nullptr"?