[all-commits] [llvm/llvm-project] 9d84f8: clang: Add __builtin_elementwise_rint and nearbyint
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Jun 23 16:52:20 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d84f8dc948b3188fdec9a1a080eb6d845c2082d
https://github.com/llvm/llvm-project/commit/9d84f8dc948b3188fdec9a1a080eb6d845c2082d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-06-23 (Fri, 23 Jun 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
A clang/test/CodeGen/strictfp-elementwise-bulitins.cpp
M clang/test/Sema/builtins-elementwise-math.c
M clang/test/SemaCXX/builtins-elementwise-math.cpp
Log Message:
-----------
clang: Add __builtin_elementwise_rint and nearbyint
These are basically the same thing and only differ for strictfp,
so add both for future proofing. Note all the elementwise functions are
currently broken for strictfp, and use non-constrained ops. Add a test
that demonstrates this, but doesn't attempt to fix it.
Commit: e248955aeda50bd7e0910eabdabdf7bd617e649f
https://github.com/llvm/llvm-project/commit/e248955aeda50bd7e0910eabdabdf7bd617e649f
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-06-23 (Fri, 23 Jun 2023)
Changed paths:
M clang/test/SemaCXX/builtins-elementwise-math.cpp
Log Message:
-----------
clang: Add missing cases to elementwise builtin SemaCXX test
Compare: https://github.com/llvm/llvm-project/compare/abe34ce4e3ba...e248955aeda5
More information about the All-commits
mailing list