Skip to content

fix 2 problems with phi-sources

Luc Van Oostenryck linux-sparse 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4additional testcase for remove_merging_phisrc()validation/optim/multi-phisrc.c+24 -00 replies
2/4correctly count phi argumentsflow.c validation/optim/phi-count00.c+44 -10 replies
3/4better check validity of phi-sourcesflow.c+13 -80 replies
4/4fix remove_merging_phisrc()flow.c validation/optim/multi-phisrc.c+20 -110 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/4] fix 2 problems with phi-sources

This series fixes two problems relatd to phi-sources:
1) fix and improve the check that protects try_to_simplify_bb()
2) fix remove_merging_phisrc() which couldn't handle the case where there is several CFG edges between two basic blocks.

Luc Van Oostenryck (4):
additional testcase for remove_merging_phisrc()
correctly count phi arguments
better check validity of phi-sources
fix remove_merging_phisrc()

 flow.c                          | 53 ++++++++++++++++++++++++++-------
 validation/optim/multi-phisrc.c | 23 ++++++++++++++
 validation/optim/phi-count00.c  | 27 +++++++++++++++++
 3 files changed, 92 insertions(+), 11 deletions(-)
 create mode 100644 validation/optim/multi-phisrc.c
 create mode 100644 validation/optim/phi-count00.c
Signature · 1 line
2.31.1