aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2021-01-08 09:50:10 +0000
committerDavid Green <david.green@arm.com>2021-01-08 09:50:10 +0000
commit72fb5ba079019c2108d676526b5285b228795e48 (patch)
treeffa792306cad16b195e3541c42e6e494cba9ef0f /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent12167632bc5cafee68da31592dae78a20a3e7e7a (diff)
downloadllvm-72fb5ba079019c2108d676526b5285b228795e48.zip
llvm-72fb5ba079019c2108d676526b5285b228795e48.tar.gz
llvm-72fb5ba079019c2108d676526b5285b228795e48.tar.bz2
[LV] Don't sink into replication regions
The new test case here contains a first order recurrences and an instruction that is replicated. The first order recurrence forces an instruction to be sunk _into_, as opposed to after the replication region. That causes several things to go wrong including registering vector instructions multiple times and failing to create dominance relations correctly. Instead we should be sinking to after the replication region, which is what this patch makes sure happens. Differential Revision: https://reviews.llvm.org/D93629
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions