ewlu / gcc-precommit-ci

2 stars 0 forks source link

Patch Status 25989-Committed_RISCV_Fix_typoVSETVL_PASS-1 #444

Closed github-actions[bot] closed 11 months ago

github-actions[bot] commented 12 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/6620445357

Patch information

Applied patches: 1 -> 1 Associated series: https://patchwork.sourceware.org/project/gcc/list/?series=25989 Last patch applied: https://patchwork.sourceware.org/project/gcc/patch/20231023072252.1716510-1-juzhe.zhong@rivai.ai/

Notes

Testsuite checks are in beta testing stages. Results are unstable and may be inaccurate.

github-actions[bot] commented 12 months ago

Lint Status

Lint passed

github-actions[bot] commented 12 months ago

Apply Status

Target Status
Baseline hash: https://github.com/gcc-mirror/gcc/commit/1acd4576435974f36dc91a8cc707cdcdccd049be Failed
Tip of tree hash: https://github.com/gcc-mirror/gcc/commit/cb05acdcea298b62e7fb00dcc153f5d506d085fe Failed

Command

> git am ../patches/*.patch --whitespace=fix -q --3way

Output

error: sha1 information is lacking or useless (gcc/config/riscv/riscv-vsetvl.cc).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 RISC-V: Fix typo[VSETVL PASS]
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
---
 gcc/config/riscv/riscv-vsetvl.cc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gcc/config/riscv/riscv-vsetvl.cc b/gcc/config/riscv/riscv-vsetvl.cc
index 5948d7260c2..47b459fddd4 100644
--- a/gcc/config/riscv/riscv-vsetvl.cc
+++ b/gcc/config/riscv/riscv-vsetvl.cc
@@ -778,7 +778,7 @@ public:
   bb_info *get_bb () const { return m_bb; }
   uint8_t get_max_sew () const { return m_max_sew; }
   insn_info *get_read_vl_insn () const { return m_read_vl_insn; }
-  bool vl_use_by_non_rvv_insn_p () const { return m_vl_used_by_non_rvv_insn; }
+  bool vl_used_by_non_rvv_insn_p () const { return m_vl_used_by_non_rvv_insn; }

   bool has_imm_avl () const { return m_avl && CONST_INT_P (m_avl); }
   bool has_vlmax_avl () const { return vlmax_avl_p (m_avl); }
@@ -1204,7 +1204,7 @@ public:
     if (get_read_vl_insn ())
       fprintf (file, "%sread_vl_insn: insn %u\n", indent,
           get_read_vl_insn ()->uid ());
-    if (vl_use_by_non_rvv_insn_p ())
+    if (vl_used_by_non_rvv_insn_p ())
       fprintf (file, "%suse_by_non_rvv_insn=true\n", indent);
   }
 };
@@ -1486,7 +1486,7 @@ private:
     if (prev.get_ratio () != next.get_ratio ())
       return false;

-    if (next.has_vl () && next.vl_use_by_non_rvv_insn_p ())
+    if (next.has_vl () && next.vl_used_by_non_rvv_insn_p ())
       return false;

     if (vector_config_insn_p (prev.get_insn ()->rtl ()) && next.get_avl_def ()
@@ -2721,7 +2721,7 @@ pre_vsetvl::fuse_local_vsetvl_info ()
              curr_info.dump (dump_file, "        ");
              fprintf (dump_file, "\n");
            }
-         if (!curr_info.vl_use_by_non_rvv_insn_p ()
+         if (!curr_info.vl_used_by_non_rvv_insn_p ()
              && vsetvl_insn_p (curr_info.get_insn ()->rtl ()))
            m_delete_list.safe_push (curr_info);

@@ -3133,7 +3133,7 @@ pre_vsetvl::pre_global_vsetvl_info ()
        continue;
      curr_info = block_info.local_infos[0];
    }
-      if (curr_info.valid_p () && !curr_info.vl_use_by_non_rvv_insn_p ()
+      if (curr_info.valid_p () && !curr_info.vl_used_by_non_rvv_insn_p ()
      && preds_has_same_avl_p (curr_info))
    curr_info.set_change_vtype_only ();

Additional information