Details
Diff Detail
Event Timeline
Backend change will be posted later today. I am currently working on adding backend tests.
| lib/CodeGen/TargetInfo.cpp | ||
|---|---|---|
| 7976 | As I understand the spec, memory order seq_cst must be consistent with both local- and global-happens-before, so I would say even subgroup is not in the single address space for OpenCL seq_cst. | |
| lib/CodeGen/TargetInfo.cpp | ||
|---|---|---|
| 7976 | OK. Is it always one-as if not sequentially consistent? I thought we are about to change sequentially consistent case, and not everything else except it. | |
| lib/CodeGen/TargetInfo.cpp | ||
|---|---|---|
| 7976 | Right. In OpenCL, only seq_cst can tie together address spaces. But other languages without explicit address spaces will want them tied for other memory orders | |
if (!Name.empty())