Skip to content

Commit 145d2f6

Browse files
author
git apple-llvm automerger
committed
Merge commit 'bd2d456a7c66' from apple/stable/20200714 into swift/main
2 parents 24ca9aa + bd2d456 commit 145d2f6

File tree

3 files changed

+40
-13
lines changed

3 files changed

+40
-13
lines changed

clang/lib/Basic/Targets/OSTargets.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ class LLVM_LIBRARY_VISIBILITY DarwinTargetInfo : public OSTargetInfo<Target> {
154154
MinVersion = llvm::VersionTuple(5U);
155155
break;
156156
default:
157-
llvm_unreachable("Unexpected OS");
157+
// Conservatively return 8 bytes if OS is unknown.
158+
return 64;
158159
}
159160

160161
unsigned Major, Minor, Micro;

clang/test/SemaCXX/warn-overaligned-type-thrown.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: %clang_cc1 -triple arm64-apple-tvos10 -verify -fsyntax-only -std=c++11 -fcxx-exceptions -fexceptions -DUNDERALIGNED %s
44
// RUN: %clang_cc1 -triple arm64-apple-watchos4 -verify -fsyntax-only -std=c++11 -fcxx-exceptions -fexceptions -DUNDERALIGNED %s
55
// RUN: %clang_cc1 -triple arm-linux-gnueabi -verify -fsyntax-only -std=c++11 -fcxx-exceptions -fexceptions -DUNDERALIGNED %s
6+
// RUN: %clang_cc1 -triple thumbv7em-apple-unknown-macho -verify -fsyntax-only -std=c++11 -fcxx-exceptions -fexceptions -DUNDERALIGNED %s
67
// RUN: %clang_cc1 -triple x86_64-apple-macosx10.14 -verify -fsyntax-only -std=c++11 -fcxx-exceptions -fexceptions %s
78
// RUN: %clang_cc1 -triple arm64-apple-ios12 -verify -fsyntax-only -std=c++11 -fcxx-exceptions -fexceptions %s
89
// RUN: %clang_cc1 -triple arm64-apple-tvos12 -verify -fsyntax-only -std=c++11 -fcxx-exceptions -fexceptions %s

llvm/docs/ReleaseNotes.rst

Lines changed: 37 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,22 @@ Changes to building LLVM
8585
Python 3 as Python 2 has been end-of-life'd by the Python Software
8686
Foundation.
8787

88+
Changes to the JIT infrastructure
89+
---------------------------------
90+
91+
* LLJIT now supports execution of static inits / deinits via the
92+
LLJIT::initialize and LLJIT::deinitialize methods
93+
94+
* Static libraries can now be added to a JITDylib using the
95+
StaticLibraryDefinitionGenerator class
96+
97+
* A C API has been added for OrcV2 (llvm-project/llvm/include/llvm-c/Orc.h)
98+
99+
* Several OrcV2 example projects have been added to
100+
llvm-project/llvm/examples/OrcV2Examples
101+
102+
* Many bug fixes and API improvements
103+
88104
Changes to the AArch64 Backend
89105
------------------------------
90106

@@ -162,24 +178,33 @@ Optimization:
162178
Codegen:
163179

164180
* POWER10 support
165-
* Added PC Relative addressing
166-
* Added __int128 vector bool support
181+
182+
* Added PC Relative addressing
183+
* Added __int128 vector bool support
184+
167185
* Security enhancement via probe-stack attribute support to protect against stack clash
168186
* Floating point support enhancements
169-
* Improved half precision and quad precision support, including GLIBC
170-
* constrained FP operation support for arithmetic/rounding/max/min
171-
* cleaning up fast math flags checks in DAGCombine, Legalizer, and Lowering
187+
188+
* Improved half precision and quad precision support, including GLIBC
189+
* constrained FP operation support for arithmetic/rounding/max/min
190+
* cleaning up fast math flags checks in DAGCombine, Legalizer, and Lowering
191+
172192
* Performance improvements from instruction exploitation, especially for vector permute on LE
173193
* Scheduling enhancements
174-
* Added MacroFusion for POWER8
175-
* Added post-ra heuristics for POWER9
194+
195+
* Added MacroFusion for POWER8
196+
* Added post-ra heuristics for POWER9
197+
176198
* Target dependent passes tuning
177-
* Updated LoopStrengthReduce to use instruction number as first priority
178-
* Enhanced MachineCombiner to expose more ILP
199+
200+
* Updated LoopStrengthReduce to use instruction number as first priority
201+
* Enhanced MachineCombiner to expose more ILP
202+
179203
* Code quality and maintenance enhancements
180-
* Enabled more machine verification passes
181-
* Added ability to parse and emit additional extended mnemonics
182-
* Numerous bug fixes
204+
205+
* Enabled more machine verification passes
206+
* Added ability to parse and emit additional extended mnemonics
207+
* Numerous bug fixes
183208

184209
AIX Support Improvements:
185210

0 commit comments

Comments
 (0)