public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/112976] New: expand_gimple_stmt_1 vs gimple_assign_nontemporal_move_p vs SSA_NAME on lhs
@ 2023-12-12  1:07 pinskia at gcc dot gnu.org
  2023-12-12  1:08 ` [Bug middle-end/112976] " pinskia at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-12-12  1:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112976

            Bug ID: 112976
           Summary: expand_gimple_stmt_1 vs
                    gimple_assign_nontemporal_move_p vs SSA_NAME on lhs
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: internal-improvement
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

As far as I can tell if TREE_CODE (lhs) == SSA_NAME then
gimple_assign_nontemporal_move_p should always be false as it is never a store.

So all of the code for nontemporal in the else case of `TREE_CODE (lhs) !=
SSA_NAME` if in cfgexpand.cc is dead.

This has been there since r0-95521-g28ed065ef9f345 which added expand from
tuples directly.

We most likely should also have gimple_assign_set_nontemporal_move assert that
the gimple assign's lhs is not a SSA_NAME.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-04-30 15:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-12  1:07 [Bug middle-end/112976] New: expand_gimple_stmt_1 vs gimple_assign_nontemporal_move_p vs SSA_NAME on lhs pinskia at gcc dot gnu.org
2023-12-12  1:08 ` [Bug middle-end/112976] " pinskia at gcc dot gnu.org
2024-04-17 21:03 ` pinskia at gcc dot gnu.org
2024-04-17 21:20 ` pinskia at gcc dot gnu.org
2024-04-18  5:35 ` pinskia at gcc dot gnu.org
2024-04-18  5:35 ` pinskia at gcc dot gnu.org
2024-04-18  5:36 ` pinskia at gcc dot gnu.org
2024-04-26 23:05 ` pinskia at gcc dot gnu.org
2024-04-30 15:56 ` cvs-commit at gcc dot gnu.org
2024-04-30 15:56 ` cvs-commit at gcc dot gnu.org
2024-04-30 15:57 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).