forked from jacobly0/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 8
optimize sign extension #43
Copy link
Copy link
Open
Labels
missed optimizationMissed optimizations generate correct (no bugs) but not optimal codeMissed optimizations generate correct (no bugs) but not optimal code
Metadata
Metadata
Assignees
Labels
missed optimizationMissed optimizations generate correct (no bugs) but not optimal codeMissed optimizations generate correct (no bugs) but not optimal code
Type
Fields
Give feedbackNo fields configured for issues without a type.
Here are some common patterns that can be optimized (based on usages in khicas on ez80-clang 19.1.0):
361 times:
97 times:
250 times:
I suppose more generally,
rlc aandrrc acan be transformed intorlcaandrrcaif only the carry flag is needed