File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -199,13 +199,11 @@ UniformityLLTOpPredicateID LLTToId(LLT Ty) {
199199
200200UniformityLLTOpPredicateID LLTToBId (LLT Ty) {
201201 if (Ty == LLT::scalar (32 ) || Ty == LLT::fixed_vector (2 , 16 ) ||
202- Ty == LLT::pointer (3 , 32 ) || Ty == LLT::pointer (5 , 32 ) ||
203- Ty == LLT::pointer (6 , 32 ))
202+ (Ty.isPointer () && Ty.getSizeInBits () == 32 ))
204203 return B32;
205204 if (Ty == LLT::scalar (64 ) || Ty == LLT::fixed_vector (2 , 32 ) ||
206- Ty == LLT::fixed_vector (4 , 16 ) || Ty == LLT::pointer (0 , 64 ) ||
207- Ty == LLT::pointer (1 , 64 ) || Ty == LLT::pointer (4 , 64 ) ||
208- (Ty.isPointer () && Ty.getAddressSpace () > AMDGPUAS::MAX_AMDGPU_ADDRESS))
205+ Ty == LLT::fixed_vector (4 , 16 ) ||
206+ (Ty.isPointer () && Ty.getSizeInBits () == 64 ))
209207 return B64;
210208 if (Ty == LLT::fixed_vector (3 , 32 ))
211209 return B96;
You can’t perform that action at this time.
0 commit comments