llvm-project/llvm/test/Transforms/SimplifyCFG/X86
Alexander Shaposhnikov c916840539 [SimplifyCFG] Improve SwitchToLookupTable optimization
Try to use the original value as an index (in the lookup table)
in more cases (to avoid one subtraction and shorten the dependency chain)
(https://github.com/llvm/llvm-project/issues/56189).

Test plan:
1/ ninja check-all
2/ bootstrapped LLVM + Clang pass tests

Differential revision: https://reviews.llvm.org/D128897
2022-07-13 23:21:45 +00:00
..
2010-03-30-InvokeCrash.ll
CoveredLookupTable.ll
MagicPointer.ll
PR29163.ll
PR30210.ll
SpeculativeExec.ll
bug-25299.ll
combine-parallel-mem-md.ll [Verifier] Verify llvm.access.group metadata 2022-03-14 16:16:36 +01:00
critedge-assume.ll
disable-lookup-table.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
empty-cleanuppad.ll
invalidate-dom.ll
lit.local.cfg
merge-cleanuppads.ll
merge-compatible-invokes-of-landingpad-debuginfo.ll Reapply "[Intrinsics] Add `nocallback` to the default intrinsic attributes" 2022-03-25 09:36:50 -05:00
merge-compatible-invokes-of-landingpad.ll [SimplifyCFG] 'merge compatible invokes': fully support indirect invokes 2022-02-08 21:29:38 +03:00
merge-cond-stores-cost.ll
pr39187-g.ll
remove-debug-2.ll
remove-debug.ll
safe-low-bit-extract.ll
sink-common-code-into-unreachable.ll
sink-common-code.ll Revert "[SimplifyCFG] Thread branches on same condition in more cases (PR54980)" 2022-07-05 16:57:46 +02:00
speculate-cttz-ctlz.ll
switch-covered-bug.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
switch-table-bug.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
switch-to-lookup-bitcast.ll
switch-to-lookup-gep.ll
switch-to-lookup-globals.ll
switch-to-lookup-large-types.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
switch_to_lookup_table.ll [SimplifyCFG] Improve SwitchToLookupTable optimization 2022-07-13 23:21:45 +00:00
unreachable-blocks.ll