Skip to content
Commit deac50cb authored by Chandler Carruth's avatar Chandler Carruth
Browse files

Generalize the reading of probability metadata to work for both branches

and switches, with arbitrary numbers of successors. Still optimized for
the common case of 2 successors for a conditional branch.

Add a test case for switch metadata showing up in the BlockFrequencyInfo pass.

llvm-svn: 142493
parent d27a7a94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment