ewlu / gcc-precommit-ci

2 stars 0 forks source link

Patch Status 35713-tobecommittedRISCV_DCE_analysis_for_extension_elimination-1 #1819

Closed github-actions[bot] closed 4 months ago

github-actions[bot] commented 4 months ago

Precommit CI Run information

Logs can be found in the associated Github Actions run: https://github.com/ewlu/gcc-precommit-ci/actions/runs/9727158885

Patch information

Applied patches: 1 -> 1 Associated series: https://patchwork.sourceware.org/project/gcc/list/?series=35713 Last patch applied: https://patchwork.sourceware.org/project/gcc/patch/5c2275f0-af2c-438d-87b3-bdbd76e81632@gmail.com/ Patch id: 93074

Build Targets

Some targets are built as multilibs. If a build target ends with multilib, please refer to the table below to see all the targets within that multilib. Target name -march string
newlib-rv64gc-lp64d-multilib rv32gc-ilp32d, rv64gc-lp64d
newlib-rv64gcv-lp64d-multilib rv64gcv-lp64d
linux-rv64gcv-lp64d-multilib rv32gcv-ilp32d, rv64gcv-lp64d

Target Information

Target Shorthand -march string
Bitmanip gc_zba_zbb_zbc_zbs

Notes

Testsuite results use a more lenient allowlist to reduce error reporting with flakey tests. Please take a look at the current allowlist. Results come from a sum file comparator. Each patch is applied to a well known, non-broken baseline taken from our gcc postcommit framework (here) which runs the full gcc testsuite every 6 hours. If you have any questions or encounter any issues which may seem like false-positives, please contact us at patchworks-ci@rivosinc.com

github-actions[bot] commented 4 months ago

Lint Status

The following issues have been found with 35713-tobecommittedRISCV_DCE_analysis_for_extension_elimination-1 using gcc's ./contrib/check_GNU_style.py. Please use your best judgement when resolving these issues. These are only warnings and do not need to be resolved in order to merge your patch.

=== ERROR type #1: braces should be on a separate line (2 error(s)) ===
gcc/ext-dce.cc:877:43:static bool ext_dce_rd_confluence_n (edge) { return true; }
gcc/ext-dce.cc:928:33:  virtual bool gate (function *) { return optimize > 0; }

=== ERROR type #2: dot, space, space, end of comment (11 error(s)) ===
gcc/ext-dce.cc:48:26:   bit 32..BITS_PER_WORD-1  */
gcc/ext-dce.cc:83:20:     which are safe.███*/
gcc/ext-dce.cc:909:19:  RTL_PASS, /* type */
gcc/ext-dce.cc:910:20:  "ext_dce", /* name */
gcc/ext-dce.cc:911:33:  OPTGROUP_NONE, /* optinfo_flags */
gcc/ext-dce.cc:912:19:  TV_NONE, /* tv_id */
gcc/ext-dce.cc:913:40:  PROP_cfglayout, /* properties_required */
gcc/ext-dce.cc:914:27:  0, /* properties_provided */
gcc/ext-dce.cc:915:28:  0, /* properties_destroyed */
gcc/ext-dce.cc:916:24:  0, /* todo_flags_start */
gcc/ext-dce.cc:917:38:  TODO_df_finish, /* todo_flags_finish */

=== ERROR type #3: dot, space, space, new sentence (1 error(s)) ===
gcc/ext-dce.cc:373:37:   binop_implies_op2_fully_live (e.g.█shifts), the computed mask may

=== ERROR type #4: lines should not exceed 80 characters (5 error(s)) ===
gcc/ext-dce.cc:185:80:              if (!is_a <scalar_int_mode> (GET_MODE (SUBREG_REG (x)), &outer_mode)
gcc/ext-dce.cc:221:80:              if (!is_a <scalar_int_mode> (GET_MODE (SUBREG_REG (x)), &outer_mode)
gcc/ext-dce.cc:642:80:                     iterator to look at the sub-rtxs outside the SET context.  */
gcc/ext-dce.cc:738:80:          ext_dce_process_uses (insn, CALL_INSN_FUNCTION_USAGE (insn), live_tmp);
gcc/common.opt:3851:80:Perform dead code elimination on zero and sign extensions with special dataflow analysis.

=== ERROR type #5: there should be exactly one space between function name and parenthesis (5 error(s)) ===
gcc/ext-dce.cc:45:14:   bit 0..7   (least significant byte)
gcc/ext-dce.cc:46:14:   bit 8..15  (second least significant byte)
gcc/ext-dce.cc:520:14:       register(s).
gcc/ext-dce.cc:760:33:  for (rtx_insn *insn = get_insns(); insn; insn = NEXT_INSN (insn))
gcc/common.opt:3850:10:Common Var(flag_ext_dce, 1) Optimization Init(0)

Additional information

github-actions[bot] commented 4 months ago

Apply Status

Target Status
Baseline hash: https://github.com/gcc-mirror/gcc/commit/21e3565927eda5ce9907d91100623052fa8182cd Applied
Tip of tree hash: https://github.com/gcc-mirror/gcc/commit/42946aa9b3228262e413481a3193bda85c20ef4b Applied

Git log

git log --oneline from the most recently applied patch to the baseline

> git log --oneline 21e3565927eda5ce9907d91100623052fa8182cd^..HEAD
1058763f2c3 DCE analysis for extension elimination
21e3565927e Match: Support imm form for unsigned scalar .SAT_ADD

Notes

Patch applied successfully

Additional information

github-actions[bot] commented 4 months ago

Build GCC Status

Target Status
linux-rv64gc_zba_zbb_zbc_zbs-lp64d-non-multilib Success
newlib-rv32imc_zba_zbb_zbc_zbs-ilp32d-non-multilib Success
linux-rv32gc_zba_zbb_zbc_zbs-ilp32d-non-multilib Success
linux-rv64gcv-lp64d-multilib Success
newlib-rv64gcv-lp64d-multilib Success
newlib-rv64gc-lp64d-multilib Success

Notes

Patch(es) were applied to the hash https://github.com/gcc-mirror/gcc/commit/21e3565927eda5ce9907d91100623052fa8182cd. If this patch commit depends on or conflicts with a recently committed patch, then these results may be outdated.

Additional information

github-actions[bot] commented 4 months ago

Testsuite Status

Summary

New Failures gcc g++ gfortran Previous Hash
linux: rv32gcv ilp32d medlow multilib 8/1 0/0 0/0 https://github.com/gcc-mirror/gcc/commit/21e3565927eda5ce9907d91100623052fa8182cd
linux: rv64gcv lp64d medlow multilib 8/1 0/0 0/0 https://github.com/gcc-mirror/gcc/commit/21e3565927eda5ce9907d91100623052fa8182cd
newlib: rv64gcv lp64d medlow multilib 8/1 0/0 0/0 https://github.com/gcc-mirror/gcc/commit/21e3565927eda5ce9907d91100623052fa8182cd
Resolved Failures gcc g++ gfortran Previous Hash
Unresolved Failures gcc g++ gfortran Previous Hash
linux: rv32 Bitmanip ilp32d medlow 350/61 4/1 12/2 https://github.com/gcc-mirror/gcc/commit/21e3565927eda5ce9907d91100623052fa8182cd
linux: rv32gcv ilp32d medlow multilib 376/81 12/3 12/2 https://github.com/gcc-mirror/gcc/commit/21e3565927eda5ce9907d91100623052fa8182cd
linux: rv64 Bitmanip lp64d medlow 346/59 4/1 12/2 https://github.com/gcc-mirror/gcc/commit/21e3565927eda5ce9907d91100623052fa8182cd
linux: rv64gcv lp64d medlow multilib 370/78 12/3 12/2 https://github.com/gcc-mirror/gcc/commit/21e3565927eda5ce9907d91100623052fa8182cd
newlib: rv32gc ilp32d medlow multilib 381/67 37/6 0/0 https://github.com/gcc-mirror/gcc/commit/21e3565927eda5ce9907d91100623052fa8182cd
newlib: rv32imc_zba_zbb_zbc_zbs ilp32 medlow multilib 390/70 37/6 0/0 https://github.com/gcc-mirror/gcc/commit/21e3565927eda5ce9907d91100623052fa8182cd
newlib: rv64gc lp64d medlow multilib 368/62 10/3 0/0 https://github.com/gcc-mirror/gcc/commit/21e3565927eda5ce9907d91100623052fa8182cd
newlib: rv64gcv lp64d medlow multilib 394/82 18/5 0/0 https://github.com/gcc-mirror/gcc/commit/21e3565927eda5ce9907d91100623052fa8182cd

New Failures Across All Affected Targets (3 targets / 8 total targets)

FAIL: gcc.target/riscv/matrix_add_const.c   -O0   scan-rtl-dump ext_dce "Successfully transformed"
FAIL: gcc.target/riscv/matrix_add_const.c   -O1   scan-rtl-dump ext_dce "Successfully transformed"
FAIL: gcc.target/riscv/matrix_add_const.c   -O2   scan-rtl-dump ext_dce "Successfully transformed"
FAIL: gcc.target/riscv/matrix_add_const.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none   scan-rtl-dump ext_dce "Successfully transformed"
FAIL: gcc.target/riscv/matrix_add_const.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects   scan-rtl-dump ext_dce "Successfully transformed"
FAIL: gcc.target/riscv/matrix_add_const.c   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions   scan-rtl-dump ext_dce "Successfully transformed"
FAIL: gcc.target/riscv/matrix_add_const.c   -O3 -g   scan-rtl-dump ext_dce "Successfully transformed"
FAIL: gcc.target/riscv/matrix_add_const.c   -Os   scan-rtl-dump ext_dce "Successfully transformed"

Additional information