[Libclc-dev] [PATCH 1/1] r600: Fix get_work_dim range metadata

Jan Vesely jan.vesely at rutgers.edu
Tue Oct 21 17:00:27 PDT 2014


"The pair a,b represents the range [a,b)."

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---

sorry about that.
Fixes compilation with recent llvm

 r600/lib/workitem/get_work_dim.ll | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/r600/lib/workitem/get_work_dim.ll b/r600/lib/workitem/get_work_dim.ll
index b02ef74..1220153 100644
--- a/r600/lib/workitem/get_work_dim.ll
+++ b/r600/lib/workitem/get_work_dim.ll
@@ -5,4 +5,4 @@ define i32 @get_work_dim() nounwind readnone alwaysinline {
   ret i32 %x
 }
 
-!0 = metadata !{ i8 1, i8 2, i8 3 }
+!0 = metadata !{ i32 1, i32 4 }
-- 
1.9.3





More information about the Libclc-dev mailing list