[all-commits] [llvm/llvm-project] ab6ec7: [clang] Mark `__builtin_convertvector` and `__buil...

c8ef via All-commits all-commits at lists.llvm.org
Mon Oct 14 09:10:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab6ec7ab149ea2c627ed2814c11be33a92171153
      https://github.com/llvm/llvm-project/commit/ab6ec7ab149ea2c627ed2814c11be33a92171153
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

  Changed paths:
    M clang/include/clang/Basic/Builtins.td
    M clang/test/Preprocessor/feature_tests.cpp

  Log Message:
  -----------
  [clang] Mark `__builtin_convertvector` and `__builtin_shufflevector` as `constexpr`. (#112129)

Closes #107985.

LanguageExtensions.rst states that `__builtin_shufflevector` and
`__builtin_convertvector` can be evaluated as constants, but this is not
reflected in Butiltins.td. This patch aligns these two.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list