[all-commits] [llvm/llvm-project] 836249: Add codegen for llvm log2/log10 elementwise builtins
Joshua Batista via All-commits
all-commits at lists.llvm.org
Tue Feb 7 12:24:25 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 836249b1c2f0540ed0c886d6c3558b2f4f179249
https://github.com/llvm/llvm-project/commit/836249b1c2f0540ed0c886d6c3558b2f4f179249
Author: Joshua Batista <jbatista at microsoft.com>
Date: 2023-02-07 (Tue, 07 Feb 2023)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Builtins.def
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGen/builtins-elementwise-math.c
M clang/test/Sema/aarch64-sve-vector-log-ops.c
M clang/test/Sema/builtins-elementwise-math.c
M clang/test/Sema/riscv-sve-vector-log-ops.c
M clang/test/SemaCXX/builtins-elementwise-math.cpp
Log Message:
-----------
Add codegen for llvm log2/log10 elementwise builtins
Add codegen for llvm log2 / log10 elementwise builtin
The log2/log10 elementwise builtin is necessary for HLSL codegen.
Tests were added to make sure that the expected errors are encountered when these functions are given inputs of incompatible types.
The new builtins are restricted to floating point types only.
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D143207
More information about the All-commits
mailing list