summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SCCP/switch-multiple-undef.ll
Commit message (Collapse)AuthorAgeFilesLines
* [SCCP] Add a test for switches on undef.Davide Italiano2016-11-231-0/+27
Without this test, you can just remove the code fixing the switch to the first constant in ResolvedUndefs in and everything pass. This test, instead, fails with an assertion if the code is removed. Found while refactoring SCCP to integrate undef in the solver. llvm-svn: 287731
OpenPOWER on IntegriCloud