[all-commits] [llvm/llvm-project] 540f5a: [HLSL] Fix float type promotion to double of the s...

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Tue Sep 8 13:44:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 540f5aca4a2cbd88b998e155db5b85a6a95ef024
      https://github.com/llvm/llvm-project/commit/540f5aca4a2cbd88b998e155db5b85a6a95ef024
  Author: Farzon Lotfi <farzonlotfi at microsoft.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M clang/lib/Headers/hlsl/hlsl_alias_intrinsics.h
    M clang/test/CodeGenHLSL/builtins/select.hlsl

  Log Message:
  -----------
  [HLSL] Fix float type promotion to double of the select intrinsic (#222056)

fixes #222055

A previous pr replaced per vector 2-4 overloads with an all inclusive
vector template overload. These vector overloads needed to be guarded so
that vec1s go down the scalar overload path.

Assisted by Copilot MA-code-1.1-flash



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