Compare commits
3 Commits
llvmorg-9.
...
llvmorg-9.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
12f174e98c | ||
|
|
8972a4776d | ||
|
|
02a0ef03e6 |
@@ -440,7 +440,7 @@ BUILTIN(__builtin_rotateleft64, "UWiUWiUWi", "nc")
|
||||
BUILTIN(__builtin_rotateright8, "UcUcUc", "nc")
|
||||
BUILTIN(__builtin_rotateright16, "UsUsUs", "nc")
|
||||
BUILTIN(__builtin_rotateright32, "UZiUZiUZi", "nc")
|
||||
BUILTIN(__builtin_rotateright64, "UWiUWiWi", "nc")
|
||||
BUILTIN(__builtin_rotateright64, "UWiUWiUWi", "nc")
|
||||
|
||||
// Random GCC builtins
|
||||
BUILTIN(__builtin_constant_p, "i.", "nctu")
|
||||
|
||||
@@ -3332,7 +3332,8 @@ SourceRange FunctionDecl::getExceptionSpecSourceRange() const {
|
||||
/// an externally visible symbol, but "extern inline" will not create an
|
||||
/// externally visible symbol.
|
||||
bool FunctionDecl::isInlineDefinitionExternallyVisible() const {
|
||||
assert((doesThisDeclarationHaveABody() || willHaveBody()) &&
|
||||
assert((doesThisDeclarationHaveABody() || willHaveBody() ||
|
||||
hasAttr<AliasAttr>()) &&
|
||||
"Must be a function definition");
|
||||
assert(isInlined() && "Function must be inline");
|
||||
ASTContext &Context = getASTContext();
|
||||
|
||||
@@ -99,3 +99,8 @@ static int test10_foo __attribute__((alias("test10")));
|
||||
// CHECKGLOBALS-NOT: @test11_foo = dso_local
|
||||
void test11(void) {}
|
||||
static void test11_foo(void) __attribute__((alias("test11")));
|
||||
|
||||
// Test that gnu_inline+alias work.
|
||||
// CHECKGLOBALS: @test12_alias = alias void (), void ()* @test12
|
||||
void test12(void) {}
|
||||
inline void test12_alias(void) __attribute__((gnu_inline, alias("test12")));
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
// RUN: %clang_cc1 -triple avr-unknown-unknown -emit-llvm -o - %s | FileCheck %s
|
||||
|
||||
// Check that the parameter types match. This verifies pr43309.
|
||||
// RUN: %clang_cc1 -triple avr-unknown-unknown -Wconversion -verify %s
|
||||
// expected-no-diagnostics
|
||||
|
||||
unsigned char bitrev8(unsigned char data) {
|
||||
return __builtin_bitreverse8(data);
|
||||
}
|
||||
|
||||
@@ -21,6 +21,15 @@ have questions or comments, the `LLVM Developer's Mailing List
|
||||
them.
|
||||
|
||||
|
||||
Known Issues
|
||||
============
|
||||
|
||||
These are issues that couldn't be fixed before the release. See the bug reports
|
||||
for the latest status.
|
||||
|
||||
* `PR40547 <https://llvm.org/pr40547>`_ Clang gets miscompiled by GCC 9.
|
||||
|
||||
|
||||
Non-comprehensive list of changes in this release
|
||||
=================================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user