diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-10-25 18:51:15 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-10-25 18:51:15 +0000 |
commit | e5a7a68dfabcf10cf5a6409fd1e4020f69564c2e (patch) | |
tree | b9b3ecf836b1f0df83c71070f862ee224ae661ab /lib/TableGen | |
parent | ed2507a9dabc6d10c9e1e3685f528651b8cb73fd (diff) |
Also optimize large switch statements.
The isValueEqualityComparison() guard at the top of SimplifySwitch()
only applies to some of the possible transformations.
The newer transformations work just fine on large switches, and the
check on predecessor count is nonsensical.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/TableGen')
0 files changed, 0 insertions, 0 deletions