Clears the road to eliminating custom default operand handlers. Also
unifies naming of related entities.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
But maybe we should just rename EndpgmImm to Endpgm instead (and then eventually do the same for the other *Imm operands)?
Comment Actions
Removed the Imm suffix. Endpgm doesn't look any different from other
operands of this kind, so maybe let's be consistent (and concise).
llvm/lib/Target/AMDGPU/SIInstrInfo.td | ||
---|---|---|
1026 | IIRC endpgm was special to avoid printing it because it's not real and was used for some tooling hack? |
llvm/lib/Target/AMDGPU/SIInstrInfo.td | ||
---|---|---|
1026 | Yes, we don't print it when it's 0. I guess it might be useful to keep s_endpgm reassemblable when the operand happens to be non-zero, whatever the reason for that might be. |
IIRC endpgm was special to avoid printing it because it's not real and was used for some tooling hack?