[all-commits] [llvm/llvm-project] 8e82c9: [Clang][Sema] Improve shuffle vector size mismatch...

Amr Hesham via All-commits all-commits at lists.llvm.org
Wed Sep 16 23:16:12 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e82c9b6ad958ee861d8467a3b7781b4da4e2643
      https://github.com/llvm/llvm-project/commit/8e82c9b6ad958ee861d8467a3b7781b4da4e2643
  Author: Amr Hesham <amr96 at programmer.net>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.md
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/SemaCXX/vector-shuffle.cpp

  Log Message:
  -----------
  [Clang][Sema] Improve shuffle vector size mismatch diagnostic (#223768)

Previously, Clang would error out that the arguments to the
shufflevector builtin in dynamic mode were not the same type, but they
don't need to be. What is required is to have the same number of
elements.

This PR updates the error message to report the actual reason behind the
error.

Issue #221791



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