aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMax Kazantsev <mkazantsev@azul.com>2020-06-25 10:42:16 +0700
committerMax Kazantsev <mkazantsev@azul.com>2020-06-25 10:44:10 +0700
commit1eeb7147878edb7c0c0fbf54bc3dffd43db271b8 (patch)
tree252803bb2c8aec5598ee9f71bfc03e537b1f93d5 /clang/lib/Frontend/CompilerInvocation.cpp
parenta5041987eddc21d37345d055cb7a51b3eb5ee698 (diff)
downloadllvm-1eeb7147878edb7c0c0fbf54bc3dffd43db271b8.zip
llvm-1eeb7147878edb7c0c0fbf54bc3dffd43db271b8.tar.gz
llvm-1eeb7147878edb7c0c0fbf54bc3dffd43db271b8.tar.bz2
[InstCombine] Combine select & Phi by same condition
This patch transforms ``` p = phi [x, y] s = select cond, z, p ``` with ``` s = phi[x, z] ``` if we can prove that the Phi node takes values basing on select's condition. Differential Revision: https://reviews.llvm.org/D82072 Reviewed By: nikic
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions