[all-commits] [llvm/llvm-project] e85e29: [HLSL] select scalar overloads for vector conditio...

Chris B via All-commits all-commits at lists.llvm.org
Sun Mar 9 14:01:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e85e29c2992b3b86f9ac7db18c0c2b9dde95a2b2
      https://github.com/llvm/llvm-project/commit/e85e29c2992b3b86f9ac7db18c0c2b9dde95a2b2
  Author: Chris B <chris.bieneman at me.com>
  Date:   2025-03-09 (Sun, 09 Mar 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Headers/CMakeLists.txt
    M clang/lib/Headers/hlsl.h
    M clang/lib/Headers/hlsl/hlsl_alias_intrinsics.h
    M clang/lib/Headers/hlsl/hlsl_detail.h
    A clang/lib/Headers/hlsl/hlsl_intrinsic_helpers.h
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/CodeGenHLSL/builtins/select.hlsl
    M clang/test/SemaHLSL/BuiltIns/select-errors.hlsl

  Log Message:
  -----------
  [HLSL] select scalar overloads for vector conditions (#129396)

This PR adds scalar/vector overloads for vector conditions to the
`select` builtin, and updates the sema checking and codegen to allow
scalars to extend to vectors.

Fixes #126570



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