[clang] disable unary, vector mask (PR #130400)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 17 11:32:10 PDT 2025


efriedma-quic wrote:

I have no idea how much the two-argument version of __builtin_shufflevector is used in practice.  I wouldn't want to remove it without a better idea of that... I vaguely recall it might be relevant for some GPU languages.

It should be possible to fix the crash by just rejecting it from constant evaluation.

https://github.com/llvm/llvm-project/pull/130400


More information about the cfe-commits mailing list