summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-05-20 14:53:09 +0000
committerSanjay Patel <spatel@rotateright.com>2016-05-20 14:53:09 +0000
commit75892a1543f6a5f2b6180b698b3d99c35681d305 (patch)
treebd0b6b37d1fa494897d3697f4a5c4f39d2be9bd2 /clang/lib
parentce6f3bdee4bb280aefb13263257f5b9b8d92f183 (diff)
downloadbcm5719-llvm-75892a1543f6a5f2b6180b698b3d99c35681d305.tar.gz
bcm5719-llvm-75892a1543f6a5f2b6180b698b3d99c35681d305.zip
[SimplifyCFG] eliminate switch cases based on known range of switch condition
This was noted in PR24766: https://llvm.org/bugs/show_bug.cgi?id=24766#c2 We may not know whether the sign bit(s) are zero or one, but we can still optimize based on knowing that the sign bit is repeated. Differential Revision: http://reviews.llvm.org/D20275 llvm-svn: 270222
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud