Skip to content

[SelectionDAG] Generalise SelectionDAG::computeOverflowKind to support other opcodes #37109

Closed
@RKSimon

Description

@RKSimon
Bugzilla Link 37761
Version trunk
OS Windows NT
CC @deadalnix,@LebedevRI,@rotateright

Extended Description

SelectionDAG::computeOverflowKind is currently only to be used for additions; it'd be useful for it to also handle signed/unsigned ISD::SUB and ISD::MUL (to cover all the SADDO/UADD, SSUBO/USUBO and SMULO/UMULO nodes).

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillagood first issuehttps://github.com/llvm/llvm-project/contributellvm:SelectionDAGSelectionDAGISel as well

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions