[all-commits] [llvm/llvm-project] 0f8681: [clang][AMDGPU] precommit test for ballot on Windo...

Sameer Sahasrabuddhe via All-commits all-commits at lists.llvm.org
Sun Dec 3 21:13:30 PST 2023


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

  Changed paths:
    A clang/test/CodeGenHIP/ballot.cpp

  Log Message:
  -----------
  [clang][AMDGPU] precommit test for ballot on Windows (#73920)

The Clang declaration of the wave-64 builtin uses "UL" as the return
type, which is interpreted as a 32-bit unsigned integer on Windows. This
emits an incorrect LLVM declaration with i32 return type instead of i64.
The clang declaration needs to be fixed to use "WU" instead.




More information about the All-commits mailing list