[all-commits] [llvm/llvm-project] 7c154d: [Clang] Fix GPU intrinsic helpers incorrectly sign...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Mar 11 17:14:24 PDT 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c154dad4d1538f80bac3c6da7a4b74e1f25e2b9
      https://github.com/llvm/llvm-project/commit/7c154dad4d1538f80bac3c6da7a4b74e1f25e2b9
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

  Changed paths:
    M clang/lib/Headers/amdgpuintrin.h
    M clang/lib/Headers/nvptxintrin.h

  Log Message:
  -----------
  [Clang] Fix GPU intrinsic helpers incorrectly sign extending (#129560)

Summary:
These return values are actually signed, meaning that casting will
extend it and then all the bits will be one.

(cherry picked from commit 4ca8ea8c972ae05a891687eda6704ec607184fae)



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