summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/ObjCARC/DependencyAnalysis.h
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2015-01-09 22:13:31 +0000
committerHans Wennborg <hans@hanshq.net>2015-01-09 22:13:31 +0000
commitdcc6e5bc0365f484a78408e1841d1c81e32cd96c (patch)
tree5a70c7c76b19f7ea79f80b66af43530b1a1f67d9 /llvm/lib/Transforms/ObjCARC/DependencyAnalysis.h
parentec1f2c2cab6d00f7193c335ac06b984bb0c480e6 (diff)
downloadbcm5719-llvm-dcc6e5bc0365f484a78408e1841d1c81e32cd96c.tar.gz
bcm5719-llvm-dcc6e5bc0365f484a78408e1841d1c81e32cd96c.zip
SimplifyCFG: check uses of constant-foldable instrs in switch destinations (PR20210)
The previous code assumed that such instructions could not have any uses outside CaseDest, with the motivation that the instruction could not dominate CommonDest because CommonDest has phi nodes in it. That simply isn't true; e.g., CommonDest could have an edge back to itself. llvm-svn: 225552
Diffstat (limited to 'llvm/lib/Transforms/ObjCARC/DependencyAnalysis.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud