OSDN Git Service

JumpThreading: when default destination is the destination of some cases in a
authorManman Ren <mren@apple.com>
Wed, 5 Sep 2012 23:45:58 +0000 (23:45 +0000)
committerManman Ren <mren@apple.com>
Wed, 5 Sep 2012 23:45:58 +0000 (23:45 +0000)
commit408853ea162b6b68d3e8defc7f96afad1942dd11
tree14430b8ff00bb49d4f3a09a909130da5b023e990
parentec65be84cd630d53233e7a37f0ef9d2303ac5153
JumpThreading: when default destination is the destination of some cases in a
switch, make sure we include the value for the cases when calculating edge
value from switch to the default destination.

rdar://12241132

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163270 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/LazyValueInfo.cpp
test/Transforms/JumpThreading/select.ll