diff options
author | Florian Hahn <flo@fhahn.com> | 2021-06-17 08:53:36 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2021-06-17 09:36:44 +0100 |
commit | 80a403348b0f4f5429c40816bf02ae37bd2e85a1 (patch) | |
tree | c24473bde6906b186a780d73b5b7c66e12d89d3e /lldb/source/Commands/CommandObjectGUI.cpp | |
parent | 873308fd8c96a54f0024251425daac1b78f70119 (diff) | |
download | llvm-80a403348b0f4f5429c40816bf02ae37bd2e85a1.zip llvm-80a403348b0f4f5429c40816bf02ae37bd2e85a1.tar.gz llvm-80a403348b0f4f5429c40816bf02ae37bd2e85a1.tar.bz2 |
[VPlan] Support PHIs as LastInst when inserting scalars in ::get().
At the moment, we create insertelement instructions directly after
LastInst when inserting scalar values in a vector in
VPTransformState::get.
This results in invalid IR when LastInst is a phi, followed by another
phi. In that case, the new instructions should be inserted just after
the last PHI node in the block.
At the moment, I don't think the problematic case can be triggered, but
it can happen once predicate regions are merged and multiple
VPredInstPHI recipes are in the same block (D100260).
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D104188
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions