erichkeane wrote: > > Nope, that was me mis-reading the Github interface. LGTM. > > Nice, thanks for the quick review. I'm going to try making the generic bit > functions (e.g. `__builtin_ctzg`) work with these vestors as well. A future > patch I'll like to add a new queryable feature for boolean vectors so people > can start depending on this expanded support. Right now we can only check > `__has_feature(ext_vector_type)` which will return an error on booleans until > clang 15 and isn't really useful until this patch. Likely we'll wand a > builtin for masked loads / stores as well.
Another thing to look at is handling these operations in ExprConstant.cpp so that we handle them in constexpr too! https://github.com/llvm/llvm-project/pull/154145 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits