diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2020-08-07 12:56:09 -0700 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2020-08-10 11:58:37 -0700 |
commit | 08803f0e62e82539756b94e2655dabdbdab39014 (patch) | |
tree | 8e2cd111c2374e18906e96e45d1596f85ac12475 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 7f5928ef5a5743ee7e65c6c9d1e1c9bc6af03063 (diff) | |
download | llvm-08803f0e62e82539756b94e2655dabdbdab39014.zip llvm-08803f0e62e82539756b94e2655dabdbdab39014.tar.gz llvm-08803f0e62e82539756b94e2655dabdbdab39014.tar.bz2 |
Unbundle KILL bundles in VirtRegRewriter
SplitKit forms invalid COPY subreg bundles without a leading
BUNDLE instruction. That manifests itself in post-RA scheduler
counting instruction and asserting on "Instruction count mismatch".
The bundle shall be undone by VirtRegRewriter::expandCopyBundle(),
but it does not because VirtRegRewriter::handleIdentityCopy() can
turn COPY bundle into a KILL bundle.
Process KILLs as well.
Differential Revision: https://reviews.llvm.org/D85484
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions