llvm/llvm-project
Ver no GitHub[NVPTX] Implement `TLI.isTruncateFree(EVT, EVT)` and `TLI.isZExtFree()`
Open
#114.339 aberto em 31 de out. de 2024
backend:NVPTXgood first issue
Métricas do repositório
- Stars
- (26.378 stars)
- Métricas de merge de PR
- (Mesclagem média 1d 2h) (1.000 fundiu PRs em 30d)
Description
NVPTX currently does not override TLI.isTruncateFree(EVT, EVT) and TLI.isZExtFree(), and it probably should.
zext/truncate between i32/i64 can probably be considered free, as the values already live in separate 32-bit registers in hardware.
Originally posted by @Artem-B in https://github.com/llvm/llvm-project/pull/98666#discussion_r1681805956