- Nov 05, 2020
-
-
Max Kazantsev authored
This reverts commit 8dc98897. Commited by mistake.
-
Chen Zheng authored
Add more profitable sinking patterns if the target bb register pressure is not too high. Reviewed By: qcolombet Differential Revision: https://reviews.llvm.org/D88126
-
Max Kazantsev authored
We already handle non-negative case there. Add support for non-positive.
-
Craig Topper authored
Recommit "[RISCV] Move some test cases from rv64i-single-softfloat.ll to a new rv64i-double-softfloat.ll. NFC"" With new test file this time. Original message This new test covers both with and without the F extension enabled. This shows that the fptosi/fptoui for double->i32 use a different libcall depending on whether the F extension is enabled. If it's not enabled we use the 'si' library call. If it is enabled we use 'di'.
-
Craig Topper authored
Revert "[RISCV] Move some test cases from rv64i-single-softfloat.ll to a new rv64i-double-softfloat.ll. NFC" I failed to git add the new test file. This reverts commit 36072cc0.
-
Craig Topper authored
This new test covers both with and without the F extension enabled. This shows that the fptosi/fptoui for double->i32 use a different libcall depending on whether the F extension is enabled. If it's not enabled we use the 'si' library call. If it is enabled we use 'di'.
-
Atmn Patel authored
This patch adds the llvm.loop.mustprogress loop metadata. This is to be added to loops where the frontend language requires that the loop makes observable interactions with the environment. This is the loop-level equivalent to the function attribute `mustprogress` defined in D86233. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D88464
-
Vitaly Buka authored
COMPILER_RT_TEST_COMPILER_CFLAGS is a string
-
Vitaly Buka authored
And move some Android specifi declarations from headers Differential Revision: https://reviews.llvm.org/D90811
-
Vy Nguyen authored
Differential Revision: https://reviews.llvm.org/D90808
-
Atmn Patel authored
Since C++11, the C++ standard has a forward progress guarantee [intro.progress], so all such functions must have the `mustprogress` requirement. In addition, from C11 and onwards, loops without a non-zero constant conditional or no conditional are also required to make progress (C11 6.8.5p6). This patch implements these attribute deductions so they can be used by the optimization passes. Differential Revision: https://reviews.llvm.org/D86841
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Fangrui Song authored
[mlir] Change deprecated -Werror-implicit-function-declaration to -Werror=implicit-function-declaration This -Werror- form has been deprecated since 2007 (GCC r122017). And only enable it for CMAKE_C_FLAGS. C++ does not need it.
-
Valentin Clement authored
This patch upstream the lowering of Wait directive that was initially done in https://github.com/flang-compiler/f18-llvm-project/pull/532 Reviewed By: schweitz Differential Revision: https://reviews.llvm.org/D90489
-
Vy Nguyen authored
Reland: a2291a58. New fixes for the breakages reported in D85927 include: - declare a weak decl for `dl_iterate_phdr`, because it does not exist on older APIs - Do not enable leak-sanitizer if api_level is less than 29, because of `ld.lld: error: undefined symbol: __aeabi_read_tp` for armv7, API level 16. - Put back the interceptor for `memalign` but still opt out intercepting `__libc_memalign` and `cfree` because both of these don't exist in Bionic. Reviewed By: srhines, vitalybuka Differential Revision: https://reviews.llvm.org/D89251
-
Fangrui Song authored
[X86] Enable shrink-wrapping for no-frame-pointer non-nounwind functions on platforms not using compact unwind The current compact unwind scheme does not work when the prologue is not at the start (the instructions before the prologue cannot be described). (Technically this is fixable, but it requires multiple compact unwind descriptors for one function.) rL255175 chose to not perform shrink-wrapping for no-frame-pointer functions not marked as nounwind to work around PR25614. This is overly limited, as platforms not supporting compact unwind (all non-Darwin) does not need the workaround. This patch restricts the limitation to compact unwind platforms. Reviewed By: qcolombet Differential Revision: https://reviews.llvm.org/D89930
-
Vy Nguyen authored
Extracted from D89251
-
Valentin Clement authored
This patch upstream the lowering of Init and Shutdown directives that was initially done in https://github.com/flang-compiler/f18-llvm-project/pull/529 Reviewed By: schweitz Differential Revision: https://reviews.llvm.org/D90488
-
Rahul Joshi authored
- The ODS description was using an old syntax that was updated during the review. This fixes the ODS description to match the current syntax. Differential Revision: https://reviews.llvm.org/D90797
-
Vitaly Buka authored
Extracted from D89251
-
Baptiste Saleil authored
The use of the new types introduced for PowerPC MMA instructions needs to be restricted. We add a PowerPC function checking that the given type is valid in a context in which we don't allow MMA types. This function is called from various places in Sema where we want to prevent the use of these types. Differential Revision: https://reviews.llvm.org/D82035
-
Arthur O'Dwyer authored
This undefined behavior was found by applying Lénárd Szolnoki's proposal to disable implicit conversion of default_delete<D> to default_delete<B>. The offending part of the test is circa line 243. The wording that makes it undefined behavior is http://eel.is/c++draft/expr.delete#3 . Differential Revision: https://reviews.llvm.org/D90536
-
Vitaly Buka authored
Depends on D90792. Differential Revision: https://reviews.llvm.org/D90793
-
Vitaly Buka authored
Depends on D90791. Differential Revision: https://reviews.llvm.org/D90792
-
Vitaly Buka authored
Differential Revision: https://reviews.llvm.org/D90790
-
Duncan P. N. Exon Smith authored
Change `Module::Umbrella` from a `const void *` to a `PointerUnion` of `FileEntry` and `DirectoryEntry`. We can drop the `HasUmbrellaDir` bit (since `PointerUnion` includes that). This change makes it safer to update to `FileEntryRef` and `DirectoryEntryRef` in a future patch. Differential Revision: https://reviews.llvm.org/D90481
-
Arthur Eubanks authored
This allows targets to skip optional optimization passes at -O0. Reviewed By: ychen Differential Revision: https://reviews.llvm.org/D90777
-
Arthur Eubanks authored
This reverts commit 7a83aa05. Causing buildbot failures.
-
Arthur Eubanks authored
This allows targets to skip optional optimization passes at -O0. Reviewed By: ychen Differential Revision: https://reviews.llvm.org/D90777
-
Jonas Devlieghere authored
The lldb.debugger et al convenience variables are only available from the interactive script interpreter. In all other scenarios, they are None (since fc1fd6bf) before that they were default initialized. The crashlog script was hacking around that by setting the lldb.debugger to a newly created debugger instance when running outside of the script interpreter, which works fine until lldb creates a script interpreter instance under the hood and clears the variables. This was resulting in an AttributeError when invoking the script directly (from outside of lldb): AttributeError: 'NoneType' object has no attribute 'GetSourceManager' This patch fixes that by passing around the debugger instance. rdar://64775776 Differential revision: https://reviews.llvm.org/D90706
-
Valentin Clement authored
This patch upstream the lowering of Update directive that was initially done in https://github.com/flang-compiler/f18-llvm-project/pull/528 Reviewed By: schweitz Differential Revision: https://reviews.llvm.org/D90472
-
Eric Astor authored
-
Eric Astor authored
Allow single-quoted strings and double-quoted character values, as well as doubled-quote escaping. Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D89731
-
Cameron McInally authored
Hook up legalizations for VECREDUCE_SEQ_FMUL. This is following up on the VECREDUCE_SEQ_FADD work from D90247. Differential Revision: https://reviews.llvm.org/D90644
-
Mircea Trofin authored
Differential Revision: https://reviews.llvm.org/D90724
-
Valentin Clement authored
This patch upstream the lowering of Enter Data directive that was initially done in https://github.com/flang-compiler/f18-llvm-project/pull/526 Reviewed By: schweitz Differential Revision: https://reviews.llvm.org/D90470
-
Edd Dawson authored
Differential Revision: https://reviews.llvm.org/D90680
-
Louis Dionne authored
-
Louis Dionne authored
The implementation is not really satisfactory, but it's better than being in the legacy config, which causes other issues.
-