[all-commits] [llvm/llvm-project] 589e1c: [HLSL] Add support for modulo of floating point sc...

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Thu Apr 10 11:28:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 589e1c73d0fa2692cf997a7a9c2286996ad2fec7
      https://github.com/llvm/llvm-project/commit/589e1c73d0fa2692cf997a7a9c2286996ad2fec7
  Author: Farzon Lotfi <farzonlotfi at microsoft.com>
  Date:   2025-04-10 (Thu, 10 Apr 2025)

  Changed paths:
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/CodeGenHLSL/BasicFeatures/frem_modulo.hlsl
    A clang/test/SemaHLSL/Operators/frem_modulo-errors.hlsl

  Log Message:
  -----------
  [HLSL] Add support for modulo of floating point scalar and vectors (#135125)

fixes #135122

SemaExpr.cpp - Make all doubles fail. Add sema support for float scalars
and vectors when language mode is HLSL.
CGExprScalar.cpp - Allow emit frem when language mode is HLSL.



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