[all-commits] [llvm/llvm-project] 5d08f3: [HLSL] Implementation of the elementwise fmod buil...

Zhengxing li via All-commits all-commits at lists.llvm.org
Fri Sep 27 14:26:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d08f3256b134e9c5414b4e50563e5de0f1735c6
      https://github.com/llvm/llvm-project/commit/5d08f3256b134e9c5414b4e50563e5de0f1735c6
  Author: Zhengxing li <unixhaha at gmail.com>
  Date:   2024-09-27 (Fri, 27 Sep 2024)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/CodeGen/builtins-elementwise-math.c
    M clang/test/CodeGen/strictfp-elementwise-bulitins.cpp
    A clang/test/CodeGenHLSL/builtins/fmod.hlsl
    M clang/test/Sema/builtins-elementwise-math.c
    M clang/test/SemaCXX/builtins-elementwise-math.cpp
    A clang/test/SemaHLSL/BuiltIns/fmod-errors.hlsl

  Log Message:
  -----------
  [HLSL] Implementation of the elementwise fmod builtin (#108849)

This change add the elementwise fmod builtin to support HLSL function
'fmod' in clang for #99118

Builtins.td           - add the fmod builtin
CGBuiltin.cpp         - lower the builtin to llvm FRem instruction
hlsl_intrinsics.h     - add the fmod api
SemaChecking.cpp      - add type checks for builtin
SemaHLSL.cpp          - add HLSL type checks for builtin

clang/docs/LanguageExtensions.rst - add the builtin in *Elementwise
Builtins*
clang/docs/ReleaseNotes.rst        - announce the builtin



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