diff options
author | Wolfgang Pieb <Wolfgang.Pieb@sony.com> | 2016-07-11 22:22:23 +0000 |
---|---|---|
committer | Wolfgang Pieb <Wolfgang.Pieb@sony.com> | 2016-07-11 22:22:23 +0000 |
commit | 5675c9698775b9c29254aa46de216705576cc3c4 (patch) | |
tree | df36f02edcd5a23f2a8c7fa48d0815c958b946cb /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 118cb4180f30a5e501a055dc859b326049a24be2 (diff) | |
download | bcm5719-llvm-5675c9698775b9c29254aa46de216705576cc3c4.tar.gz bcm5719-llvm-5675c9698775b9c29254aa46de216705576cc3c4.zip |
Prevent the creation of empty (forwarding) blocks resulting from nested ifs.
Summary:
Nested if statements can generate empty BBs whose terminator branches
unconditionally to its successor. These branches are not eliminated
to help generate better line number information in some cases, but there
is no reason to keep the empty blocks that result from nested ifs.
Reviewers: mehdi_amini, dblaikie, echristo
Subscribers: mehdi_amini, cfe-commits
Differential review: http://reviews.llvm.org/D11360
llvm-svn: 275115
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions