- Move DEBUG_TYPE below includes
- Change unknown address space constant to be consistent with other passes- Grammar fixes in debug output
 
Details
- Reviewers
- jlebar 
Diff Detail
Event Timeline
| lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp | ||
|---|---|---|
| 472 | I don't really care, but I have to admit that I find '\n' in place of "\n" kind of a strange change to make. | |
| lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp | ||
|---|---|---|
| 472 | I think it looks nicer and allegedly this saves a call by using the more inlinable char version of << | |
| lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp | ||
|---|---|---|
| 472 | I mean, presumably we are not optimizing for the speed of these dbgs() calls. If my grep'ing is correct, *nobody* is doing '\n', so maybe we shouldn't make this change. $ git grep 'dbgs().*"\\n"' | wc -l | |
| lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp | ||
|---|---|---|
| 472 | I've been consistently using single quote chars in AMDGPU so something is probably off | |
I don't really care, but I have to admit that I find '\n' in place of "\n" kind of a strange change to make.