[all-commits] [llvm/llvm-project] 1b2d11: Add normalize builtins and normalize HLSL function...
Joshua Batista via All-commits
all-commits at lists.llvm.org
Tue Aug 13 15:15:40 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1b2d11de938af899c74eacc0218304576fe6052b
https://github.com/llvm/llvm-project/commit/1b2d11de938af899c74eacc0218304576fe6052b
Author: Joshua Batista <jbatista at microsoft.com>
Date: 2024-08-13 (Tue, 13 Aug 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGHLSLRuntime.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Sema/SemaHLSL.cpp
A clang/test/CodeGenHLSL/builtins/normalize.hlsl
A clang/test/SemaHLSL/BuiltIns/normalize-errors.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/include/llvm/IR/IntrinsicsSPIRV.td
M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
A llvm/test/CodeGen/DirectX/normalize.ll
A llvm/test/CodeGen/DirectX/normalize_error.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/normalize.ll
Log Message:
-----------
Add normalize builtins and normalize HLSL function to DirectX and SPIR-V backend (#102683)
This PR adds the normalize intrinsic and an HLSL function that uses it.
The SPIRV backend is also implemented.
Used https://github.com/llvm/llvm-project/pull/101256 as a reference,
along with https://github.com/llvm/llvm-project/pull/102243
Fixes https://github.com/llvm/llvm-project/issues/99139
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