llvm-project/llvm/test/Transforms/SimplifyCFG/X86
Owen Anderson 68079ef0eb Teach SimplifyCFG to fold switches into lookup tables in more cases.
In particular, it couldn't handle cases where lookup table constant
expressions involved bitcasts. This does not seem to come up
frequently in C++, but comes up reasonably often in Rust via
`#[derive(Debug)]`.

Originally reported by pcwalton.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D109565
2021-09-15 22:07:08 +00:00
..
2010-03-30-InvokeCrash.ll
CoveredLookupTable.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
MagicPointer.ll
PR29163.ll
PR30210.ll
SpeculativeExec.ll [SimplifyCFG] SimplifyCondBranchToTwoReturns(): really only deal with different ret blocks 2021-07-23 00:36:59 +03:00
bug-25299.ll
combine-parallel-mem-md.ll
critedge-assume.ll
disable-lookup-table.ll [SimplifyCFG] SwitchToLookupTable(): don't increase ret count 2021-07-26 23:29:55 +03:00
empty-cleanuppad.ll
invalidate-dom.ll
lit.local.cfg
merge-cleanuppads.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
merge-cond-stores-cost.ll
pr39187-g.ll
remove-debug-2.ll
remove-debug.ll
safe-low-bit-extract.ll
sink-common-code.ll [SimplifyCFG] Rerun PHI deduplication after common code sinkinkg (PR51092) 2021-07-15 16:34:34 +03:00
speculate-cttz-ctlz.ll
switch-covered-bug.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
switch-table-bug.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
switch-to-lookup-bitcast.ll Teach SimplifyCFG to fold switches into lookup tables in more cases. 2021-09-15 22:07:08 +00:00
switch-to-lookup-gep.ll Teach SimplifyCFG to fold switches into lookup tables in more cases. 2021-09-15 22:07:08 +00:00
switch_to_lookup_table.ll [SimplifyCFG] SwitchToLookupTable(): don't increase ret count 2021-07-26 23:29:55 +03:00
unreachable-blocks.ll