================
@@ -272,9 +272,16 @@ class Intrinsic {
           Proto[I] == 'R' || Proto[I] == '@' || Proto[I] == '!')
         break;
 
+      if (Proto[I] == '2')
+        Param += 1;
+      if (Proto[I] == '4')
+        Param += 3;
----------------
Lukacma wrote:

Well, you are right about that. I just thought since I am adding multi-vector 
behaviour support, I might add it properly in case it is needed in the future. 
Another reason for doing it this way now is that, incorrectly setting this will 
result in failure with non-obvious runtime error, which is time consuming to 
debug so I thought to preempt that. But if you think it is a bad idea to add it 
I can remove it.    

https://github.com/llvm/llvm-project/pull/165545
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to