[PATCH] D39040: AMDGPU: Fix creating invalid copy when adjusting dmask

Alex Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 06:47:22 PDT 2017


aejsmith added a comment.

With this, when dmask = 0x2, we get "image_get_lod v[0:1], ...". Based on what Marek said, wouldn't it only be returning a single value to v0? What would v1 get set to?

In comparison, for image_sample with dmask = 0x2 I see only a single destination register specified. That's also what I see on the proprietary driver for image_get_lod.


https://reviews.llvm.org/D39040





More information about the llvm-commits mailing list