[all-commits] [llvm/llvm-project] 608212: [Clang] Check feature requirement from inlined callee
Qiu Chaofan via All-commits
all-commits at lists.llvm.org
Tue Mar 14 23:30:03 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 608212a0ff2f9e9a2cee8b5b0fa206fd15eb6472
https://github.com/llvm/llvm-project/commit/608212a0ff2f9e9a2cee8b5b0fa206fd15eb6472
Author: Qiu Chaofan <qiucofan at cn.ibm.com>
Date: 2023-03-15 (Wed, 15 Mar 2023)
Changed paths:
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
A clang/test/Sema/ppc-attr-target-inline.c
Log Message:
-----------
[Clang] Check feature requirement from inlined callee
Currently clang emits error when both always_inline and target
attributes are on callee, but caller doesn't have some feature.
This patch makes clang emit error when caller cannot meet target feature
requirements from an always-inlined callee.
Reviewed By: erichkeane
Differential Revision: https://reviews.llvm.org/D143479
More information about the All-commits
mailing list