llvm-6502/lib/Transforms
Manman Ren d61d1eb165 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165759 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-11 22:28:34 +00:00
..
Hello
InstCombine Revert 165732 for further review. 2012-10-11 21:27:41 +00:00
Instrumentation Revert 165732 for further review. 2012-10-11 21:27:41 +00:00
IPO Remove the final bits of Attributes being declared in the Attribute 2012-10-10 07:36:45 +00:00
Scalar Revert 165732 for further review. 2012-10-11 21:27:41 +00:00
Utils PGO: create metadata for switch only if it has more than one targets. 2012-10-11 22:28:34 +00:00
Vectorize Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile