Special registers, e.g. MODE, do not have register classes so
will cause null pointer exception if passed to isSGPRReg.
Details
Details
- Reviewers
foad arsenm - Commits
- rG930315f6aa58: [AMDGPU] Fix isSGPRReg for special registers
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I discovered this while writing a new hazard recognizer which need to check SGPR usage on all VALU instructions.