[all-commits] [llvm/llvm-project] 912f0d: [HLSL] `constexpr` vector element conversions (#19...

Chris B via All-commits all-commits at lists.llvm.org
Fri May 29 09:31:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 912f0d1055b8dafe8602c773787c658b5d7b3bd8
      https://github.com/llvm/llvm-project/commit/912f0d1055b8dafe8602c773787c658b5d7b3bd8
  Author: Chris B <chris.bieneman at me.com>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ByteCode/Compiler.h
    M clang/lib/AST/ExprConstant.cpp
    A clang/test/SemaHLSL/Language/ConstexprVectorCasts.hlsl
    A clang/test/SemaHLSL/Types/BuiltinVector/VectorCastConstantExpr.hlsl

  Log Message:
  -----------
  [HLSL] `constexpr` vector element conversions (#195173)

This PR updates the constant expression evaluators to support HLSL's
element-wise vector element conversions. These conversions allow
element-by-element conversion of a vector from one type to another
vector of the same dimension.

Fixes #163437

---------

Co-authored-by: Deric C. <cheung.deric at gmail.com>



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