summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-12-05 23:04:21 +0000
committerDavide Italiano <davide@freebsd.org>2016-12-05 23:04:21 +0000
commit3dad93d9ef8a144d8928a8da130c790ffcd6c043 (patch)
tree1616429a926333561761b79f2ccc3634d03c6908 /libcxx/test/std
parentebd5350d855d0c017f06b02ae95890ea30c45eea (diff)
downloadbcm5719-llvm-3dad93d9ef8a144d8928a8da130c790ffcd6c043.tar.gz
bcm5719-llvm-3dad93d9ef8a144d8928a8da130c790ffcd6c043.zip
[SCCP] Remove manual folding of terminator instructions.
There are two cases handled here: 1) a branch on undef 2) a switch with an undef condition. Both cases are currently handled by ResolvedUndefsIn. If we have a branch on undef, we force its value to false (which is trivially foldable). If we have a switch on undef, we force to the first constant (which is also foldable). llvm-svn: 288725
Diffstat (limited to 'libcxx/test/std')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud