tree-optimization/114502 - final value replacement for idempotent negation #206
No reviewers
Labels
No labels
Compat/Breaking
Frontend/ada
Frontend/c
Frontend/c++
Frontend/rust
General/forge
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Library/libgcc
Library/libstdc++
Midend/gimple
Midend/rtl
Midend/tree
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Target/aarch64
Target/arm
Target/i386
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gcc/gcc!206
Loading…
Reference in a new issue
No description provided.
Delete branch "Rachit/gcc:PR-114502"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
SCEV cannot represent a period-2 recurrence, so recognize loops of the
form 'c = -c' with a constant trip count in the final-value replacement
and replace the exit value by c or -c depending on the parity of the trip
count. Bail out when signed overflow must trap (-ftrapv) or be sanitized,
mirroring the existing bitop special-cases.
Tested on aarch64-linux-gnu: gcc.dg/tree-ssa/scev-negate-{1,2,3}.c all pass.
Signed-off-by: Rachit Mehta rachit.mehta@oss.qualcomm.com
CC: andrew.pinski@oss.qualcomm.com
Hi @Rachit. This bot helps send your PR as a patch series to the mailing list.
Next steps
CC: Reviewer1 <revi.ewer@example.com>, Reviewer2 <an.other@example.com>./preview./submit.Changes since vXsection, and comment with/submitagain.See Submitting Patches and UsingForge.
Consider joining the gcc and gcc-patches mailing lists..
For real time communication, check the gcc irc channels.
Or join
#overseerson Libera Chat, particularly if this automation is not working (stay online to get replies, IRC does not save messages if people are not online).f4ed39865e7bda01c9f0/preview
Sent patch series version 1 containing 1 patches to @Rachit's email address.
Message Id of cover message is
<bmm.hl37e3q6mi.gcc.gcc.Rachit.206.1.0@forge-stage.sourceware.org>./submit
Version 1 of this pull request has been stored. It includes the following commits:
7bda01c9f0Pull Request versions:
e873aac49e7bda01c9f0In order to compare , clone this repository and run
Sent patch series version 1 containing 1 patches to gcc-patches mailing list gcc-patches@gcc.gnu.org and cc'd andrew.pinski@oss.qualcomm.com.
Cover letter
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.