[all-commits] [llvm/llvm-project] d3bbdc: [clang] constexpr `__builtin_elementwise_abs` supp...

Vincent via All-commits all-commits at lists.llvm.org
Thu Aug 14 04:34:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3bbdc7bdea651658c4964346d34ac470742d90d
      https://github.com/llvm/llvm-project/commit/d3bbdc7bdea651658c4964346d34ac470742d90d
  Author: Vincent <llvm at viceroygroup.ca>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/CodeGen/builtins-elementwise-math.c
    M clang/test/Sema/constant-builtins-vector.cpp

  Log Message:
  -----------
  [clang] constexpr `__builtin_elementwise_abs` support (#152497)

Added constant evaluation support for `__builtin_elementwise_abs` on integer, float and vector type.

fixes #152276

---------

Co-authored-by: Simon Pilgrim <llvm-dev at redking.me.uk>



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