================ @@ -1484,6 +1484,18 @@ def ElementwiseSubSat : Builtin { let Prototype = "void(...)"; } +def ElementwiseClz : Builtin { + let Spellings = ["__builtin_elementwise_clz"]; + let Attributes = [NoThrow, Const, CustomTypeChecking, Constexpr]; + let Prototype = "void(...)"; +} + +def ElementwiseCtz : Builtin { + let Spellings = ["__builtin_elementwise_ctz"]; + let Attributes = [NoThrow, Const, CustomTypeChecking, Constexpr]; ---------------- frasercrmck wrote:
Done - it now supports constexpr evaluation. 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