[all-commits] [llvm/llvm-project] 0a2b5b: [NVPTX][Fix] Ensure the return value of 'activemas...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jan 29 15:33:52 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a2b5b03c4084ac1fefd0e62db2ba49f5ac24ab9
      https://github.com/llvm/llvm-project/commit/0a2b5b03c4084ac1fefd0e62db2ba49f5ac24ab9
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsNVPTX.def

  Log Message:
  -----------
  [NVPTX][Fix] Ensure the return value of 'activemask' is unsigned

Summary:
The previous patch missed the `U` prefix, which caused the mask to be
considered signed. This meant that conversions would incorrectly treat a
full mask as a negative number and break things.




More information about the All-commits mailing list