[all-commits] [llvm/llvm-project] 5e9733: [Clang] Update typechecking of builtin elementwise...

Chaitanya Koparkar via All-commits all-commits at lists.llvm.org
Fri Aug 29 03:33:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e97338c9582769772058de316d3ee6766128e3e
      https://github.com/llvm/llvm-project/commit/5e97338c9582769772058de316d3ee6766128e3e
  Author: Chaitanya Koparkar <ckoparkar at gmail.com>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/Sema/builtins-elementwise-math.c

  Log Message:
  -----------
  [Clang] Update typechecking of builtin elementwise ternary math operators (#155620)

For scalars we directly compare their unqualified types. But even if we
compare unqualified vector types, a difference in qualifiers in the
element types can make the vector types be considered not equal. For
example, vector of 4 'const float' values vs vector of 4 'float' values.
So we compare unqualified types of their elements and number of
elements.

Fixes #155405



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