We don't allow an initializer for LDS variables
and there is an early abort during instruction
selection. This patch legalizes them by ignoring
the init values. During assembly emission, proper
error reporting already exists for such instances.
Details
Details
- Reviewers
arsenm - Commits
- rG7a62a5b56d67: [AMDGPU] Legalize initialized LDS variables
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/AMDGPU/legalize-lds-initializer.ll | ||
---|---|---|
2 ↗ | (On Diff #372997) | Do we not already have a test for this? I would prefer to run end-to-end to ensure the diagnostic is in fact emitted for the initializer in the end |
Should explicitly note this will error later