efriedma-quic wrote:

> Oh excuse me, there's currently no target-specific behaviour. I missed the 
> HasFallback in

HasFallback only applies to the two-argument form.

------------

I don't have a strong opinion about the names.

The whole "fallback behavior" thing was written back in the early days of 
clang, before we even had ubsan.  I doubt we would handle that the same way 
today... and I don't think we need to carry it forward to new variants.  If the 
user cares, they can explicitly request `__builtin_elementwise_ctz(x, 32)` or 
whatever.

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

Reply via email to