From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 157CF385627C; Tue, 21 Jun 2022 06:19:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 157CF385627C From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/106041] Long/infinite compile time for Arm SIMD -O1 or -O2 but not -O0 Date: Tue, 21 Jun 2022 06:19:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2022 06:19:48 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106041 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Component|target |rtl-optimization --- Comment #1 from Andrew Pinski --- #0 0x0000000000bd9e74 in df_worklist_propagate_backward (age=3D, last_change_age=3D..., considered=3D0x3f4de80, pending=3D0x44d0f20, bbindex_to_postorder=3D0x3ecf3d0, bb_index=3D, dataflow=3D0x3ecd500) at /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/df-core.cc:971 #1 df_worklist_dataflow_doublequeue (n_blocks=3D, bbindex_to_postorder=3D0x3ecf3d0, blocks_in_postorder=3D0x3bc1200, considered=3D0x3f4de80, pending=3D0x44d0f20, dataflow=3D0x3ecd500) at /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/df-core.cc:1044 #2 df_worklist_dataflow (dataflow=3D0x3ecd500, blocks_to_consider=3D, blocks_in_postorder=3D0x3bc1200, n_blocks=3D) at /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/df-core.cc:1121 #3 0x0000000000bda0c8 in df_analyze_problem (dflow=3D0x3ecd500, blocks_to_consider=3Dblocks_to_consider@entry=3D0x3b990b0, postorder=3Dpostorder@entry=3D0x3bc1200, n_blocks=3Dn_blocks@entry=3D38) at /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/df-core.cc:1175 #4 0x0000000001c3dfa8 in fast_dce (word_level=3Dword_level@entry=3Dfalse) = at /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/dce.cc:1169 #5 0x0000000001c3e1e8 in rest_of_handle_fast_dce () at /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/dce.cc:1194 #6 run_fast_df_dce () at /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/dce.cc:1242 #7 0x0000000000be0ef8 in df_lr_finalize (all_blocks=3D0x44d0f40) at /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/df-problems.cc:1065 #8 0x0000000000bda0dc in df_analyze_problem (dflow=3D0x3ecd500, blocks_to_consider=3D0x44d0f40, postorder=3D0x3bc1200, n_blocks=3D38) at /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/df-core.cc:1180 #9 0x0000000000bda1cc in df_analyze_1 () at /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/vec.h:1472 #10 0x0000000001c27180 in execute_compare_elim_after_reload () at /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/compare-elim.cc:910 #11 (anonymous namespace)::pass_compare_elim_after_reload::execute (this=3D) at /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/compare-elim.cc:967 #12 0x0000000000fb2420 in execute_one_pass (pass=3Dpass@entry=3D0x2981b60) = at /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/passes.cc:2637 I need to double check this but it seems to be stuck here. Also this is with "void hwy::N_NEON::TestLoadStoreInterleaved2::operator()(= T, D) [with T =3D double; D =3D hwy::N_NEON::Simd]" function.=