This is a one-line-change patch that moves the update to UnhandledWeights to the correct position: it should be updated for all clusters instead of just range clusters.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/CodeGen/X86/switch-edge-weight.ll | ||
---|---|---|
6 ↗ | (On Diff #33281) | Done. I have simplified the function as suggested by you (previously I just copies it from another test case but I should look for a simplest one). Thank you! |