[all-commits] [llvm/llvm-project] 75e7ba: [HLSL] Re-implement countbits with the correct ret...
Sarah Spall via All-commits
all-commits at lists.llvm.org
Tue Oct 29 07:56:28 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 75e7ba8c0b7efe75632d328a80391b9086ba8740
https://github.com/llvm/llvm-project/commit/75e7ba8c0b7efe75632d328a80391b9086ba8740
Author: Sarah Spall <sarahspall at microsoft.com>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/test/CodeGenHLSL/builtins/countbits.hlsl
M clang/test/SemaHLSL/BuiltIns/countbits-errors.hlsl
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
M llvm/test/CodeGen/DirectX/countbits.ll
Log Message:
-----------
[HLSL] Re-implement countbits with the correct return type (#113189)
Restricts hlsl countbits to always return a uint32.
Implements a lowering from llvm.ctpop which has an overloaded return
type to dxil cbits op which always returns uint32.
Closes #112779
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