diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-03-09 23:56:50 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-03-14 23:19:54 +0100 |
| commit | 5744e177de56c2dd560af3e3eb551e61182dd9fa (patch) | |
| tree | b263bc248aa454c5a381c374d11ca57a6514cbb9 | |
| parent | 826561b4a6737a4716a95bf6d6d10c0886257991 (diff) | |
| download | sparse-dev-5744e177de56c2dd560af3e3eb551e61182dd9fa.tar.gz | |
optim: pack bb must set REPEAT_CFG
Basic block packing should trigger CFG cleanup, not a rerun
of CSE.
Fix this by setting REPEAT_CFG_CLEANUP pack_basic_blocks()
instead of REPEAT_CSE.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
| -rw-r--r-- | flow.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1012,7 +1012,7 @@ out: /* * Merge the two. */ - repeat_phase |= REPEAT_CSE; + repeat_phase |= REPEAT_CFG_CLEANUP; parent->children = bb->children; bb->children = NULL; |
