[all-commits] [llvm/llvm-project] 081a66: [DXIL] implement dot intrinsic lowering for intege...

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Tue Mar 19 09:04:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 081a66ffacfe85a37ff775addafcf3371e967328
      https://github.com/llvm/llvm-project/commit/081a66ffacfe85a37ff775addafcf3371e967328
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGenHLSL/builtins/dot.hlsl
    M clang/test/SemaHLSL/BuiltIns/dot-errors.hlsl
    M llvm/include/llvm/IR/IntrinsicsDirectX.td
    M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
    A llvm/test/CodeGen/DirectX/idot.ll

  Log Message:
  -----------
  [DXIL] implement dot intrinsic lowering for integers (#85662)

this implements part 1 of 2 for #83626
- `CGBuiltin.cpp` - modified to have seperate cases for signed and
unsigned integers.
- `SemaChecking.cpp` - modified to prevent the generation of a double
dot product intrinsic if the builtin were to be called directly.
- `IntrinsicsDirectX.td` creation of the signed and unsigned dot
intrinsics needed for instruction expansion.
- `DXILIntrinsicExpansion.cpp` - handle instruction expansion cases for
integer dot product.



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