summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86MCInstLower.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-11-23 01:42:39 +0000
committerDavide Italiano <davide@freebsd.org>2016-11-23 01:42:39 +0000
commitf6fbe21befefaa8ae56dafb125debefa7b099a27 (patch)
treed09bc4da4523a8c2465ac5b0e7c3c8fc70e24f15 /llvm/lib/Target/X86/X86MCInstLower.cpp
parentfd265a1f305aa9d244fac66e46771635e7e05a9b (diff)
downloadbcm5719-llvm-f6fbe21befefaa8ae56dafb125debefa7b099a27.tar.gz
bcm5719-llvm-f6fbe21befefaa8ae56dafb125debefa7b099a27.zip
[SCCP] Add a test for switches on undef.
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
Diffstat (limited to 'llvm/lib/Target/X86/X86MCInstLower.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud