diff options
author | Florian Hahn <flo@fhahn.com> | 2020-01-28 08:20:40 -0800 |
---|---|---|
committer | Florian Hahn <florian_hahn@apple.com> | 2020-01-28 08:28:03 -0800 |
commit | a911fef3dd79e0a04b241be7b476dde7e99744c4 (patch) | |
tree | ec13b088ae68a8a14c4adab68008f710e7f93c08 /llvm/lib/Transforms/Utils/CodeMoverUtils.cpp | |
parent | b7e415f37f38c65ced6d725d100790526920bc0c (diff) | |
download | llvm-a911fef3dd79e0a04b241be7b476dde7e99744c4.zip llvm-a911fef3dd79e0a04b241be7b476dde7e99744c4.tar.gz llvm-a911fef3dd79e0a04b241be7b476dde7e99744c4.tar.bz2 |
[LV] Do not try to sink dead instructions.
Dead instructions do not need to be sunk. Currently we try and record
the recipies for them, but there are no recipes emitted for them and
there's nothing to sink. They can be removed from SinkAfter while
marking them for recording.
Fixes PR44634.
Reviewers: rengolin, hsaito, fhahn, Ayal, gilr
Reviewed By: gilr
Differential Revision: https://reviews.llvm.org/D73423
Diffstat (limited to 'llvm/lib/Transforms/Utils/CodeMoverUtils.cpp')
0 files changed, 0 insertions, 0 deletions