[all-commits] [llvm/llvm-project] 9db642: [clang][AMDGPU] fix the return type for ballot (#7...

Sameer Sahasrabuddhe via All-commits all-commits at lists.llvm.org
Mon Dec 4 01:45:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9db642394dee768e8a4404978c0e5d3af07fed17
      https://github.com/llvm/llvm-project/commit/9db642394dee768e8a4404978c0e5d3af07fed17
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsAMDGPU.def
    M clang/test/CodeGenHIP/ballot.cpp

  Log Message:
  -----------
  [clang][AMDGPU] fix the return type for ballot (#73906)

In the builtins declaration, "ULi" is a 32-bit integer on Windows. Use
"WUi" instead to ensure a 64-bit integer on all platforms.




More information about the All-commits mailing list