Skip to content

adjust phi-sources when merging BBs

Luc Van Oostenryck linux-sparse 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2add testcase for phi-adjusting during BB mergevalidation/optim/merge_bbe-adjust_phi.c+24 -00 replies
2/2adjust phi-sources when merging BBsflow.c validation/optim/merge_bbe-adjust_phi.c+28 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] adjust phi-sources when merging BBs

When merging BBs, phi-sources from the bottom BB should 'overwrite' the ones from the top BB which should be ignored. This is currently the not case and both phi-sources are present in the resulting BB. This doesn't make much sense for the corresponding phi-node and also causes other problems like hindering further simplifications.

This series contains a testcase and a patch for this.

Luc Van Oostenryck (2):
add testcase for phi-adjusting during BB merge
adjust phi-sources when merging BBs

 flow.c                                  | 28 +++++++++++++++++++++++++
 validation/optim/merge_bbe-adjust_phi.c | 23 ++++++++++++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 validation/optim/merge_bbe-adjust_phi.c
Signature · 1 line
2.29.2