summaryrefslogtreecommitdiffstats
path: root/libcxx/src/system_error.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-08-18 20:48:36 +0000
committerMatthias Braun <matze@braunis.de>2015-08-18 20:48:36 +0000
commitfa3b248a667b31c4f42d64a97b9d2f9e88ee0c48 (patch)
tree8f9ddd8242b762d7c2b559d348625dccdbcd4f24 /libcxx/src/system_error.cpp
parent2e920bd04f4cea5efc2b1944d5c4d9ec9278fda7 (diff)
downloadbcm5719-llvm-fa3b248a667b31c4f42d64a97b9d2f9e88ee0c48.tar.gz
bcm5719-llvm-fa3b248a667b31c4f42d64a97b9d2f9e88ee0c48.zip
DAGCombiner: Improve DAGCombiner select normalization
The current code normalizes select(C0, x, select(C1, x, y)) towards select(C0|C1, x, y) if the targets prefers that form. This patch adds an additional rule that if the select(C1, x, y) part already exists in the function then we want to normalize into the other direction because the effects of reusing the existing value are bigger than transforming into the target preferred form. This addresses regressions following r238793, see also: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150727/290272.html Differential Revision: http://reviews.llvm.org/D11616 llvm-svn: 245350
Diffstat (limited to 'libcxx/src/system_error.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud