Fixed r158979.
authorStepan Dyatkovskiy <stpworld@narod.ru>
Fri, 22 Jun 2012 14:53:30 +0000 (14:53 +0000)
committerStepan Dyatkovskiy <stpworld@narod.ru>
Fri, 22 Jun 2012 14:53:30 +0000 (14:53 +0000)
commit43c3a4a7e76920c5646e473b72620acc7eb4ca5a
tree3ca0fdb5a975b0ac166e14958abe62877d4a4f1c
parent84f64f317f5211dd8b8446e9933778350b254163
Fixed r158979.
Original message:
Performance optimizations:
- SwitchInst: case values stored separately from Operands List. It allows to make faster access to individual case value numbers or ranges.
- Optimized IntItem, added APInt value caching.
- Optimized IntegersSubsetGeneric: added optimizations for cases when subset is single number or when subset consists from single numbers only.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158997 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Instructions.h
include/llvm/Support/IntegersSubset.h
lib/Transforms/Utils/CodeExtractor.cpp
lib/VMCore/Instructions.cpp