This change adds the patterns and divergence predicates for the ctpop (bitcount) nodes
to make them selected according to the divergence.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
| Time | Test | |
|---|---|---|
| 50 ms | x64 debian > LLVM.Bindings/Go::go.test |
Event Timeline
| llvm/lib/Target/AMDGPU/SOPInstructions.td | ||
|---|---|---|
| 1374 | These two are not exactly identical. | |
Comment Actions
LGTM.
| llvm/lib/Target/AMDGPU/SOPInstructions.td | ||
|---|---|---|
| 1374 | Actually I see now, the i64 to i32 pattern is used for GlobalISel only, and the i64 to i64 pattern is used for SelectionDAG only. | |
Do you really need COPY_TO_REGCLASS here?