diff options
author | Florian Hahn <flo@fhahn.com> | 2022-05-05 09:44:07 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-05-05 09:44:07 +0100 |
commit | 6bd2b70877615bac018f54b09bd8c97155d52a45 (patch) | |
tree | c5b61d5bedf56e4ffb5bf951b53de97a24575139 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | b910cf986ab953874c55cf2eb6981234abad9b76 (diff) | |
download | llvm-6bd2b70877615bac018f54b09bd8c97155d52a45.zip llvm-6bd2b70877615bac018f54b09bd8c97155d52a45.tar.gz llvm-6bd2b70877615bac018f54b09bd8c97155d52a45.tar.bz2 |
[SimpleLoopUnswitch] Add freeze if branch execs for partial unswitching.
We cannot skip the freezing the condition if the unswitched branch
executes, if the condition is a chain of ANDs/ORs. For example, if if we
have an AND %c1, %c2 with %c1 == undef and %c2 == 0, there would be no
branch on undef in the original code, but a branch on undef if we
unswitch %c1.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D124603
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions