[all-commits] [llvm/llvm-project] 5cc91f: [Clang] Copy strictfp attribute from pattern to in...
Serge Pavlov via All-commits
all-commits at lists.llvm.org
Sun Feb 26 20:21:27 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5cc91f977eaa0b0947ff1cf2a52ea6bc4479081d
https://github.com/llvm/llvm-project/commit/5cc91f977eaa0b0947ff1cf2a52ea6bc4479081d
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
A clang/test/CodeGen/fp-template.cpp
Log Message:
-----------
[Clang] Copy strictfp attribute from pattern to instantiation
If a template function contained a pragma that made it strictfp, code
generation for such function crashed, because the instantiation did not
have strictfp attribute. As a solution this attribute is copied from the
template to instantiation.
Differential Revision: https://reviews.llvm.org/D143919
More information about the All-commits
mailing list