[all-commits] [llvm/llvm-project] e9700d: [HLSL] Implement `asint` casting using `bit_cast` ...

Finn Plummer via All-commits all-commits at lists.llvm.org
Fri Sep 27 14:17:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9700d03dd5b89ffc8ef77d0bac2ebc6228f894a
      https://github.com/llvm/llvm-project/commit/e9700d03dd5b89ffc8ef77d0bac2ebc6228f894a
  Author: Finn Plummer <50529406+inbelic at users.noreply.github.com>
  Date:   2024-09-27 (Fri, 27 Sep 2024)

  Changed paths:
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    A clang/test/CodeGenHLSL/builtins/asint.hlsl
    A clang/test/SemaHLSL/BuiltIns/asint-errors.hlsl

  Log Message:
  -----------
  [HLSL] Implement `asint` casting using `bit_cast` (#110027)

Using clang's `__builtin_bit_cast`, implement the hlsl intrinsic
`asint`.

Follows implementation details of `asuint/asfloat`.

Fixes #99091



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