diff options
author | Kazu Hirata <kazu@google.com> | 2023-02-28 12:35:55 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-02-28 16:13:30 -0800 |
commit | 38a64aab4a3fbaaeb383638ff654247902796556 (patch) | |
tree | ef7f13fb3581b03174722b8bc27d3b3beca091a1 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 4eb694e35dd514395819b375b31a80bd6d58378e (diff) | |
download | llvm-38a64aab4a3fbaaeb383638ff654247902796556.zip llvm-38a64aab4a3fbaaeb383638ff654247902796556.tar.gz llvm-38a64aab4a3fbaaeb383638ff654247902796556.tar.bz2 |
[ControlHeightReduction] Don't combine a "poison" branch
Without this patch, the control height reduction pass would combine a
"poison" branch with an earlier well-defined branch, turning the
earlier branch into a "poison" branch also.
This patch fixes the problem by rejecting "poison" conditional
branches.
Differential Revision: https://reviews.llvm.org/D145008
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions