[Mesa-dev] [PATCH 1/1] r600: Use llvm intrinsic to read work dimension information

Matt Arsenault arsenm2 at gmail.com
Wed Jul 30 19:29:57 PDT 2014


On Jul 30, 2014, at 4:11 PM, Jan Vesely <jan.vesely at rutgers.edu> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140730/dc0fd6f8/attachment.html>


More information about the mesa-dev mailing list