[PATCH 0/4] improve the tests about the generated IR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This small series contains some improvements for testing
the generated IR.

Luc Van Oostenryck (4):
  testsuite: reorganize tests for compound literals
  testsuite: add a few more tests catching quadratic behaviour
  testsuite: improve mem2reg testcases
  testsuite: remove useless test for loop-linearization

 validation/crash-select.c                          |  18 +++
 validation/{ => linear}/compound-literal00.c       |   0
 validation/linear/compound-literal01.c             |  18 +++
 .../compound-literal02.c}                          |  10 +-
 validation/loop-linearization.c                    | 136 ---------------------
 validation/{ => mem2reg}/alias-distinct.c          |   0
 validation/{ => mem2reg}/alias-mixed.c             |   0
 validation/{ => mem2reg}/alias-same.c              |   0
 validation/mem2reg/cond-expr.c                     |   1 +
 validation/mem2reg/cond-expr5.c                    |   6 +-
 validation/mem2reg/init-global-array.c             |  12 +-
 validation/mem2reg/init-local-array.c              |  13 +-
 validation/{ => mem2reg}/kill-casts.c              |   0
 validation/mem2reg/loop02-global.c                 |   2 +-
 validation/mem2reg/missing-return.c                |  34 ++++++
 validation/mem2reg/quadra01.c                      |  27 ++++
 validation/mem2reg/quadra02.c                      |  18 +++
 validation/{ => mem2reg}/reload-aliasing.c         |   0
 validation/mem2reg/store-deadborn.c                |   9 ++
 validation/{linear => mem2reg}/stray-phisrc.c      |   0
 validation/mem2reg/struct.c                        |  32 +++++
 validation/mem2reg/unused-var.c                    |  23 ++++
 validation/{mem2reg => optim}/killed-insn.c        |   7 +-
 validation/optim/null-phi.c                        |   9 ++
 validation/repeat.h                                |  24 ++++
 25 files changed, 239 insertions(+), 160 deletions(-)
 create mode 100644 validation/crash-select.c
 rename validation/{ => linear}/compound-literal00.c (100%)
 create mode 100644 validation/linear/compound-literal01.c
 rename validation/{compound-literal01.c => linear/compound-literal02.c} (61%)
 delete mode 100644 validation/loop-linearization.c
 rename validation/{ => mem2reg}/alias-distinct.c (100%)
 rename validation/{ => mem2reg}/alias-mixed.c (100%)
 rename validation/{ => mem2reg}/alias-same.c (100%)
 rename validation/{ => mem2reg}/kill-casts.c (100%)
 create mode 100644 validation/mem2reg/missing-return.c
 create mode 100644 validation/mem2reg/quadra01.c
 create mode 100644 validation/mem2reg/quadra02.c
 rename validation/{ => mem2reg}/reload-aliasing.c (100%)
 create mode 100644 validation/mem2reg/store-deadborn.c
 rename validation/{linear => mem2reg}/stray-phisrc.c (100%)
 create mode 100644 validation/mem2reg/struct.c
 create mode 100644 validation/mem2reg/unused-var.c
 rename validation/{mem2reg => optim}/killed-insn.c (53%)
 create mode 100644 validation/optim/null-phi.c
 create mode 100644 validation/repeat.h

-- 
2.16.2

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux