[all-commits] [llvm/llvm-project] a7d659: Add missing roundtointegral builtin functions for ...
joshua-arch1 via All-commits
all-commits at lists.llvm.org
Mon Mar 6 22:17:45 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a7d6593a0a17a1e7f46a3c9cd5c4aeeb7dfc6e0a
https://github.com/llvm/llvm-project/commit/a7d6593a0a17a1e7f46a3c9cd5c4aeeb7dfc6e0a
Author: Jun Sha (Joshua) <cooper.joshua at linux.alibaba.com>
Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths:
M clang/include/clang/Basic/Builtins.def
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/builtins.c
Log Message:
-----------
Add missing roundtointegral builtin functions for some FP instructions to be generated from C-written codes
To generate FROUND instructions in https://reviews.llvm.org/D143982, we need to use llvm intrinsics in IR files. Now I add some corresponding builtin functions to make sure these roundtointegral instructions can be generated from C codes.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D144935
More information about the All-commits
mailing list