On Jul 30, 2014, at 4:11 PM, Jan Vesely wrote:
> +define i32 @get_work_dim() nounwind readnone alwaysinline {
> + %x = call i32 @llvm.r600.read.workdim() nounwind readnone
> + ret i32 %x
> +}
> --
Maybe this should have range metadata attached now that it applies to calls?___
Signed-off-by: Jan Vesely
---
generic/include/clc/workitem/get_work_dim.h | 1 +
r600/lib/SOURCES| 1 +
r600/lib/workitem/get_work_dim.ll | 6 ++
3 files changed, 8 insertions(+)
create mode 100644 generic/include/clc/workitem/get_work_dim.h
create mode