PGO: create metadata for switch only if it has more than one targets.
When all cases of a switch statement are dead, the weights vector only has one element, and we will get an ssertion failure when calling createBranchWeights. llvm-svn: 165759
Loading
Please register or sign in to comment