public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/103660] Sub-optimal code with relational operators Date: Mon, 12 Aug 2024 19:52:34 +0000 [thread overview] Message-ID: <bug-103660-4-lLCe6nYZXn@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-103660-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660 --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 58915 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58915&action=edit scalar gimple testcases Note f2 is not optimized either. It should be simple as: (simplify (op:c (cnd @0 @00 integer_zero_p) (cnd @0 integer_zero_p @01)) (cnd @0 @00 @01))
next prev parent reply other threads:[~2024-08-12 19:52 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-11 13:14 [Bug c/103660] New: " david at westcontrol dot com 2021-12-12 23:58 ` [Bug tree-optimization/103660] " pinskia at gcc dot gnu.org 2023-08-23 3:45 ` pinskia at gcc dot gnu.org 2023-08-23 4:45 ` pinskia at gcc dot gnu.org 2023-08-23 4:49 ` pinskia at gcc dot gnu.org 2024-08-09 18:40 ` pinskia at gcc dot gnu.org 2024-08-12 19:52 ` pinskia at gcc dot gnu.org [this message] 2024-08-12 20:17 ` pinskia at gcc dot gnu.org 2024-08-13 4:48 ` pinskia at gcc dot gnu.org 2024-08-20 14:07 ` cvs-commit at gcc dot gnu.org 2024-08-20 14:07 ` cvs-commit at gcc dot gnu.org 2024-08-20 14:07 ` cvs-commit at gcc dot gnu.org 2024-08-20 14:10 ` pinskia at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-103660-4-lLCe6nYZXn@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).