[all-commits] [llvm/llvm-project] c704da: [Clang] Fix incorrect return type for `__builtin_s...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Aug 21 14:14:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c704dabe88689e8b42fc6c0d7ef048c0c5701329
      https://github.com/llvm/llvm-project/commit/c704dabe88689e8b42fc6c0d7ef048c0c5701329
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-08-21 (Thu, 21 Aug 2025)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/AST/ByteCode/constexpr-vectors.cpp

  Log Message:
  -----------
  [Clang] Fix incorrect return type for `__builtin_shufflevector` (#154817)

Summary:
The `__builtin_shufflevector` call would return a GCC vector in all
cases where the vector type was increased. Change this to preserve
whether or not this was an extended vector.

Fixes: https://github.com/llvm/llvm-project/issues/107981



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