summaryrefslogtreecommitdiff
path: root/llvm/test/Transforms/JumpTableToSwitch/basic.ll
AgeCommit message (Collapse)Author
2024-02-10Add JumpTableToSwitch pass (#77709)Alexander Shaposhnikov
Add a pass to convert jump tables to switches. The new pass replaces an indirect call with a switch + direct calls if all the functions in the jump table are smaller than the provided threshold. The pass is currently disabled by default and can be enabled by -enable-jump-table-to-switch. Test plan: ninja check-all