llvm/llvm-project

[NVPTX] Port code to `llvm/lib/CodeGen/SelectionDAG/*`

Open

#116,695 opened on Nov 18, 2024

View on GitHub
 (8 comments) (0 reactions) (0 assignees)C++ (10,782 forks)batch import
backend:NVPTXgood first issuellvm:SelectionDAG

Repository metrics

Stars
 (26,378 stars)
PR merge metrics
 (Avg merge 1d 2h) (1,000 merged PRs in 30d)

Description

Some of NVPTX's custom operation lowering and custom DAG combines do not rely on NVPTXISD nodes. A majority of these operation lowerings and DAG combines can be ported to live in LegalizeDAG.cpp or DAGCombiner.cpp respectively.

This will increase the coverage we have on this code and enable other targets to benefit from the work we've done.

For example,

Contributor guide