This tends to increase code size but more importantly it reduces vgpr
usage, and could avoid costly readfirstlanes if the result needs to be
in an sgpr.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
readfirstlane is bad news because there's a pretty big stall between a VALU instruction that writes an SGPR, and any following SALU instruction.