Now Clang does not check that features required by built-in functions are enabled. That causes errors in the backend reported in PR44018.
This patch fixes this bug by checking that required features are enabled.
Paths
| Differential D70808
[mips] Check that features required by built-ins are enabled ClosedPublic Authored by atanasyan on Nov 28 2019, 2:39 AM.
Details Summary Now Clang does not check that features required by built-in functions are enabled. That causes errors in the backend reported in PR44018. This patch fixes this bug by checking that required features are enabled.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 28 2019, 6:25 AM Closed by commit rGf4d32ae75bf5: [mips] Check that features required by built-ins are enabled (authored by atanasyan). · Explain WhyNov 28 2019, 1:32 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 231466 clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Sema.h
clang/lib/Basic/Targets/Mips.cpp
clang/lib/Sema/SemaChecking.cpp
clang/test/CodeGen/builtins-mips-args.c
clang/test/CodeGen/builtins-mips.c
clang/test/Sema/builtins-mips-features.c
|