Skip to content

Commit 5d67286

Browse files
committed
SimplifyCFG: Add tests for switch-replacements
Currently, some switch optimizations are only possible, if lookup table support is enabled. However, some of these optimizations are no lookup tables at all, but a series of simple instructions like mul, add or shift instructions. These tests will show how a future change will enable these other kinds of optimization, even if lookup tables are not supported.
1 parent f0e9bba commit 5d67286

File tree

1 file changed

+577
-0
lines changed

1 file changed

+577
-0
lines changed

0 commit comments

Comments
 (0)