[all-commits] [llvm/llvm-project] fb9073: [HLSL] implement elementwise firstbithigh hlsl bui...

Sarah Spall via All-commits all-commits at lists.llvm.org
Wed Nov 6 07:32:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb90733e196039b0a77f43af98c42c9267a31e07
      https://github.com/llvm/llvm-project/commit/fb90733e196039b0a77f43af98c42c9267a31e07
  Author: Sarah Spall <sarahspall at microsoft.com>
  Date:   2024-11-06 (Wed, 06 Nov 2024)

  Changed paths:
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    M clang/lib/Sema/SemaHLSL.cpp
    A clang/test/CodeGenHLSL/builtins/firstbithigh.hlsl
    A clang/test/SemaHLSL/BuiltIns/firstbithigh-errors.hlsl
    M llvm/include/llvm/IR/IntrinsicsDirectX.td
    M llvm/include/llvm/IR/IntrinsicsSPIRV.td
    M llvm/lib/Target/DirectX/DXIL.td
    M llvm/lib/Target/DirectX/DirectXTargetTransformInfo.cpp
    M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    A llvm/test/CodeGen/DirectX/firstbithigh.ll
    A llvm/test/CodeGen/DirectX/firstbitshigh_error.ll
    A llvm/test/CodeGen/DirectX/firstbituhigh_error.ll
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/firstbithigh.ll

  Log Message:
  -----------
  [HLSL] implement elementwise firstbithigh hlsl builtin (#111082)

Implements elementwise firstbithigh hlsl builtin.
Implements firstbituhigh intrinsic for spirv and directx, which handles
unsigned integers
Implements firstbitshigh intrinsic for spirv and directx, which handles
signed integers.
Fixes #113486
Closes #99115



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