aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/FileManagerTest.cpp
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2018-11-19 11:31:24 +0000
committerJohn Brawn <john.brawn@arm.com>2018-11-19 11:31:24 +0000
commit12c046fba0cb3ab6a654aaaffba75436aac55b34 (patch)
treeb436c9fbd9faab822ac0d7c3b7cdf31b5a900470 /clang/unittests/Basic/FileManagerTest.cpp
parent7eb6938c48c65f70843cc0351bf816456f7834c4 (diff)
downloadllvm-12c046fba0cb3ab6a654aaaffba75436aac55b34.zip
llvm-12c046fba0cb3ab6a654aaaffba75436aac55b34.tar.gz
llvm-12c046fba0cb3ab6a654aaaffba75436aac55b34.tar.bz2
[LICM] Make LICM able to hoist phis
The general approach taken is to make note of loop invariant branches, then when we see something conditional on that branch, such as a phi, we create a copy of the branch and (empty versions of) its successors and hoist using that. This has no impact by itself that I've been able to see, as LICM typically doesn't see such phis as they will have been converted into selects by the time LICM is run, but once we start doing phi-to-select conversion later it will be important. Differential Revision: https://reviews.llvm.org/D52827 llvm-svn: 347190
Diffstat (limited to 'clang/unittests/Basic/FileManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions