diff options
author | Florian Hahn <flo@fhahn.com> | 2023-08-24 22:12:57 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2023-08-24 22:12:57 +0100 |
commit | 13ffde316a8541d77116bd18f73efada236617f3 (patch) | |
tree | 96484bb05718393470e27cf76a92503f51fd2d01 /llvm/lib/CodeGen/BasicBlockSections.cpp | |
parent | a902015f543097720fed4d2c04e34daa0fdfbda7 (diff) | |
download | llvm-13ffde316a8541d77116bd18f73efada236617f3.zip llvm-13ffde316a8541d77116bd18f73efada236617f3.tar.gz llvm-13ffde316a8541d77116bd18f73efada236617f3.tar.bz2 |
[ConstraintElim] Remove dead compares after simplification.
Remove compares after replacing all uses. Cleaning dead compares can
enable additional simplifications when adjusting the position of the
pass slightly. In particular, it seems like the additional dead
instructions may prevent SimplifyCFG performing some folds.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D158760
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions