summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/optional/optional.nullopt
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-08-31 15:57:17 +0000
committerSanjay Patel <spatel@rotateright.com>2017-08-31 15:57:17 +0000
commite6b48a1b02124ac4854defa152fc31fe225f4c49 (patch)
treeee02337cb004dc5a8262f09f2e58b4270be811e7 /libcxx/test/std/utilities/optional/optional.nullopt
parent08f5fd51cc1690c86bac2f1dd841d27da2eefe44 (diff)
downloadbcm5719-llvm-e6b48a1b02124ac4854defa152fc31fe225f4c49.tar.gz
bcm5719-llvm-e6b48a1b02124ac4854defa152fc31fe225f4c49.zip
[InstCombine] improve demanded vector elements analysis of insertelement
Recurse instead of returning on the first found optimization. Also, return early in the caller instead of continuing because that allows another round of simplification before we might potentially lose undef information from a shuffle mask by eliminating the shuffle. As noted in the review, we could probably do better and be more efficient by moving all of demanded elements into a separate pass, but this is yet another quick fix to instcombine. Differential Revision: https://reviews.llvm.org/D37236 llvm-svn: 312248
Diffstat (limited to 'libcxx/test/std/utilities/optional/optional.nullopt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud