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

Marek Olšák via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 07:33:06 PDT 2017


mareko added a comment.

In case it's still confusing: the number of components returned by image opcodes is popcount(dmask). The code could just do popcount(dmask) instead of computing BitsSet.


https://reviews.llvm.org/D39040





More information about the llvm-commits mailing list