diff options
author | Piotr Sobczak <piotr.sobczak@amd.com> | 2023-10-26 11:51:26 +0200 |
---|---|---|
committer | Piotr Sobczak <piotr.sobczak@amd.com> | 2023-10-26 11:52:55 +0200 |
commit | 80abbeca8e52174157654ee33151da507d098ced (patch) | |
tree | c7cffe7f905a0180cb43f61ac0536e6238c76508 /clang/lib/Sema/SemaOpenMP.cpp | |
parent | 24865a6423bbdb0286a649c5a953af0e817bfee8 (diff) | |
download | llvm-80abbeca8e52174157654ee33151da507d098ced.zip llvm-80abbeca8e52174157654ee33151da507d098ced.tar.gz llvm-80abbeca8e52174157654ee33151da507d098ced.tar.bz2 |
[Inline Spiller] Consider bundles when marking defs as dead
Fix bug where the code expects just a single MI, but a series of
bundled MIs need to be handled instead.
The semi-formed bundled are created by SplitKit for the case where
not all lanes are live (buildSingleSubRegCopy). Then the remat
kicks in, and since the values that are copied in the bundle do not
need to be preserved due to the remat (dead defs), all instructions
in the bundle should be marked as dead.
However, only the first one gets marked as dead, which causes the
verifier to complain later with error: "Live range continues after
dead def flag".
Differential Revision: https://reviews.llvm.org/D156999
Diffstat (limited to 'clang/lib/Sema/SemaOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions