Current address space mapping documentation does not match the
PTXLdStInstCode::AddressSpace enum defined in lib/Target/NVPTX/NVPTX.h.
This patch updates documentation accordingly.
Details
Details
- Reviewers
jingyue
Diff Detail
Diff Detail
Event Timeline
Comment Actions
The documentation is actually correct here. PTXLdStInstCode is an internal enumeration that is independent of the public address space mapping. It's unfortunate that there is disagreement between the two mappings, but this should be fixed by changing the PTXLdStInstCode enum. See the AddressSpace enum in lib/Target/NVPTX/MCTargetDesc/NVPTXBaseInfo.h.