[all-commits] [llvm/llvm-project] 2329fb: [HLSL] enforce unsigned types for reversebits (#86...

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Wed Mar 27 11:51:44 PDT 2024


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

  Changed paths:
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    M clang/lib/Sema/SemaChecking.cpp
    R clang/test/CodeGenHLSL/builtins/bitreverse.hlsl
    M clang/test/CodeGenHLSL/builtins/reversebits.hlsl
    A clang/test/SemaHLSL/BuiltIns/reversebits-errors.hlsl

  Log Message:
  -----------
  [HLSL] enforce unsigned types for reversebits (#86720)

fixes #86719
- `SemaChecking.cpp` - Adds unsigned semaChecks to
`__builtin_elementwise_bitreverse`
- `hlsl_intrinsics.h` - remove signed `reversebits` apis



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