jlebar added a comment. > Hm, these seem completely broken, before and after this patch. I'll handle it separately if that's OK. https://reviews.llvm.org/D23335. The device side equivalent works afaict (and is very well-tested). https://reviews.llvm.org/D23242