The feature allows for conditional assembly etc.
It is still unclear how to make those symbols read-only.
Test added.
Details
Details
- Reviewers
• tstellarAMD SamWot - Group Reviewers
Restricted Project - Commits
- rG17091364d13f: [AMDGPU][llvm-mc] Predefined symbols to access -mcpu from the assembly source (.
rL272673: [AMDGPU][llvm-mc] Predefined symbols to access -mcpu from the assembly source…
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM, except we should expose the proposed symbol names before submitting, there can be other suggestions.
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | ||
---|---|---|
595 ↗ | (On Diff #60389) | Better place this names to AMDGPUAsmUtils |
Comment Actions
Suggestions (and subsequent conversations) are good but take time. Let's deliver functionality to our customers without extra delay. We can easy change names to something else, if required. Besides, I've exposed names in the relevant mail thread several days ago, and there is none objections/suggestions))
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | ||
---|---|---|
595 ↗ | (On Diff #60389) | Let's see how code will evolve in time. For now, code almost complies with One Definition Rule, so I would better KISS it. Thanks for reviewing. |