[all-commits] [llvm/llvm-project] aab25f: [HLSL][SPIRV][DXIL] Implement `WaveActiveMax` intr...
Adam Yang via All-commits
all-commits at lists.llvm.org
Mon Jan 27 23:27:18 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aab25f20f6c06bab7aac6fb83d54705ec4cdfadd
https://github.com/llvm/llvm-project/commit/aab25f20f6c06bab7aac6fb83d54705ec4cdfadd
Author: Adam Yang <hanbyang at microsoft.com>
Date: 2025-01-27 (Mon, 27 Jan 2025)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Sema/SemaHLSL.cpp
A clang/test/CodeGenHLSL/builtins/WaveActiveMax.hlsl
A clang/test/SemaHLSL/BuiltIns/WaveActiveMax-errors.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/include/llvm/IR/IntrinsicsSPIRV.td
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DirectXTargetTransformInfo.cpp
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
A llvm/test/CodeGen/DirectX/WaveActiveMax.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/WaveActiveMax.ll
Log Message:
-----------
[HLSL][SPIRV][DXIL] Implement `WaveActiveMax` intrinsic (#123428)
``` - add clang builtin to Builtins.td
- link builtin in hlsl_intrinsics
- add codegen for spirv intrinsic and two directx intrinsics to retain
signedness information of the operands in CGBuiltin.cpp
- add semantic analysis in SemaHLSL.cpp
- add lowering of spirv intrinsic to spirv backend in
SPIRVInstructionSelector.cpp
- add lowering of directx intrinsics to WaveActiveOp dxil op in
DXIL.td
- add test cases to illustrate passespendent pr merges.
```
Resolves #99170
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