diff options
author | Duncan Sands <baldrick@free.fr> | 2012-03-09 13:45:18 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2012-03-09 13:45:18 +0000 |
commit | 6f1d7994155c535455b7543e2af6dce5b65de37b (patch) | |
tree | b125eb533a37305c98fc18e5c5c129e2f39a111c /projects | |
parent | 7415659bf8b8523ab8b706caa461984a199dc3c8 (diff) | |
download | external_llvm-6f1d7994155c535455b7543e2af6dce5b65de37b.zip external_llvm-6f1d7994155c535455b7543e2af6dce5b65de37b.tar.gz external_llvm-6f1d7994155c535455b7543e2af6dce5b65de37b.tar.bz2 |
Eliminate switch cases that can never match, for example removes all
negative switch cases if the branch condition is known to be positive.
Inspired by a recent improvement to GCC's VRP.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects')
0 files changed, 0 insertions, 0 deletions