Skip to content

[DAG] TargetLowering::expandABD - investigate alternative expansions #84639

Closed as not planned
@RKSimon

Description

@RKSimon

As mentioned here by @jayfoad #84431 (comment)

Incidentally Hacker's Delight has a section "Average of Two Integers" which has some neat tricks for implementing these operations without extending to N+1-bit integers.

These include alternative code for targets with poor MIN/MAX/SAT/CMPSEL instructions as well as simpler expansions depending upon the knownbits/numsignbits of the operands.

Metadata

Metadata

Assignees

Labels

invalidResolved as invalid, i.e. not a bugllvm:SelectionDAGSelectionDAGISel as well

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions