Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [SCCP] Add a test for switches on undef. | Davide Italiano | 2016-11-23 | 1 | -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 |