================
@@ -108,9 +109,15 @@ class PrototypeParser {
     } else if (T.consume_back("&")) {
       ParseType(T);
       Type += "&";
+    } else if (T.consume_front("long long")) {
----------------
chandlerc wrote:

Ok, PR updated with an explicit opt-in for OpenCL `long` type support.

Somehow, I hadn't considered how easily this would address an unrelated part: 
the occurance in intrinsic header builtins. That just fell out of this. Sorry 
for pushing back earlier, but all my ideas were much more complex than this 
ended up being.

With this tiny change to the `.td` file in the second commit here, the diff of 
things switching from `LLi` to `Oi` becomes very small and looks pretty 
compelling: https://gist.github.com/chandlerc/4395df8d838cd1a110ecc2170e67adc4

https://github.com/llvm/llvm-project/pull/120831
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to