[PATCH] D24463: AMDGPU: Rename glc operand type

Valery Pykhtin via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 05:33:17 PDT 2016


vpykhtin added a comment.

I'm not sure I understand what the problem is.

One of the problem I met using "bits" is that it requires explicit bit range inside !if expression, that might be the problem in your case. I fixed it for VOPs but haven't in other places yet. Try changing if to !if(has_glc, glc{0}, 0). Other possible way is to use "bit" instead of "bits<1>".


https://reviews.llvm.org/D24463





More information about the llvm-commits mailing list