llvm-project
[CodeGenPrepare] Convert `ctpop(X) ==/!= 1` into `ctpop(X) u</u> 2/1`
#111284
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
5
Changes
View On
GitHub
[CodeGenPrepare] Convert `ctpop(X) ==/!= 1` into `ctpop(X) u</u> 2/1`
#111284
dtcxzyw
merged 5 commits into
llvm:main
from
dtcxzyw:perf/is-power2-nonzero
dtcxzyw
requested a review
from
arsenm
1 year ago
dtcxzyw
requested a review
from
nikic
1 year ago
dtcxzyw
requested a review
from
RKSimon
1 year ago
dtcxzyw
requested a review
from
topperc
1 year ago
dtcxzyw
requested a review
from
goldsteinn
1 year ago
llvmbot
added
backend:AArch64
llvmbot
added
backend:X86
dtcxzyw
requested a review
from
efriedma-quic
1 year ago
goldsteinn
commented on 2024-10-06
goldsteinn
approved these changes on 2024-10-06
arsenm
commented on 2024-10-07
arsenm
commented on 2024-10-07
arsenm
approved these changes on 2024-10-10
[CodeGenPrepare] Add pre-commit tests. NFC.
9449548d
[CodeGenPrepare] Convert `ctpop(X) ==/!= 1 -> ctpop(X) u</u> 2/1`
bf11b6d3
[CodeGenPrepare] Use `isKnownNonZero`
2e810b51
[CodeGenPrepare] Check if it is profitable for the target
7357e3a3
[CodeGenPrepare] Remove target cost checks
fb33033a
dtcxzyw
force pushed
to
fb33033a
1 year ago
dtcxzyw
merged
e3894f58
into main
1 year ago
dtcxzyw
deleted the perf/is-power2-nonzero branch
1 year ago
Login to write a write a comment.
Login via GitHub
Reviewers
arsenm
goldsteinn
nikic
RKSimon
topperc
efriedma-quic
Assignees
No one assigned
Labels
backend:AArch64
backend:X86
Milestone
No milestone
Login to write a write a comment.
Login via GitHub