[all-commits] [llvm/llvm-project] defe43: Add unsigned integer overloads for abs (#128257)

Chris B via All-commits all-commits at lists.llvm.org
Wed Feb 26 06:38:41 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: defe43bbffb0d25ec468f0e54b20548ec192ff90
      https://github.com/llvm/llvm-project/commit/defe43bbffb0d25ec468f0e54b20548ec192ff90
  Author: Chris B <chris.bieneman at me.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    M clang/test/CodeGenHLSL/builtins/abs.hlsl

  Log Message:
  -----------
  Add unsigned integer overloads for abs (#128257)

This seems silly, but DXC supports unsigned integer versions of abs that
are just no-ops. This adds the overloads for source compatability
because apparently users actually use them...

Fixes #128249



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