diff options
author | Hans Wennborg <hans@hanshq.net> | 2015-01-26 19:52:34 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2015-01-26 19:52:34 +0000 |
commit | b64cb271dced24f1cabf7a33c29240a551b888d4 (patch) | |
tree | 5472d3061ec62611c84e9db5c0bd520496d8184f /llvm/lib/Support/CommandLine.cpp | |
parent | 6800008f049f4c33ec42acfd7055b82ed38d7559 (diff) | |
download | llvm-b64cb271dced24f1cabf7a33c29240a551b888d4.zip llvm-b64cb271dced24f1cabf7a33c29240a551b888d4.tar.gz llvm-b64cb271dced24f1cabf7a33c29240a551b888d4.tar.bz2 |
SimplifyCFG: Omit range checks for switch lookup tables when default is unreachable
The range check would get optimized away later, but we might as well not emit
them in the first place.
http://reviews.llvm.org/D6471
llvm-svn: 227126
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions