- Oct 20, 2020
-
-
Vitaly Buka authored
Fixes https://bugs.llvm.org/show_bug.cgi?id=47896
-
Artur Pilipenko authored
Adding myself as a new Azul representative to security group. Differential Revision: https://reviews.llvm.org/D89287
-
Stella Laurenzo authored
* Interops with Python buffers/numpy arrays to create. * Also cleans up 'get' factory methods on some types to be consistent. * Adds mlirAttributeGetType() to C-API to facilitate error handling and other uses. * Punts on a lot of features of the ElementsAttribute hierarchy for now. * Does not yet support bool or string attributes. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D89363
-
Fangrui Song authored
No need to use -femit-coverage-notes and -femit-coverage-data.
-
Luqman Aden authored
Create the LLVM / CodeView register mappings for the 32-bit ARM Window targets. Reviewed By: compnerd Differential Revision: https://reviews.llvm.org/D89622
-
Arthur Eubanks authored
-
Jonas Devlieghere authored
Make it possible to specify a list of utilities that should be installed in the toolchain. Differential revision: https://reviews.llvm.org/D89762
-
Fangrui Song authored
The name is unfortunate because it is similar to the driver option -ftest-coverage. It turns out aside from one occurrence in a test, this option is not used.
-
Jonas Devlieghere authored
For the reproducers in LLDB we want to switch to an "immediate mode" FileCollector that writes every file encountered straight to disk so we can generate the actual mapping out-of-process. This patch moves the interface into a separate base class. Differential revision: https://reviews.llvm.org/D89742
-
Max Kazantsev authored
Fixed wrapping range case & proof methods reduced to constant range checks to save compile time. Differential Revision: https://reviews.llvm.org/D89381
-
Richard Smith authored
Instead of framing the interface around whether the variable is an ICE (which is only interesting in C++98), primarily track whether the initializer is a constant initializer (which is interesting in all C++ language modes). No functionality change intended.
-
Arthur Eubanks authored
Tests already have corresponding NPM RUN lines.
-
Kai Luo authored
-
Serguei Katkov authored
IRCE has some overhead for runtime checks and in case number of iteration is small the overhead can kill the benefit from optimizations. This CL bases on BlockFrequencyInfo of pre-header and header to estimate the number of loop iterations. If it is less than irce-min-estimated-iters we do not transform the loop. Probably it is better to make more complex cost model but for simplicity it seems the be enough. The usage of BFI is added only for new pass manager and tries to use it efficiently. Reviewers: ebrevnov, dantrushin, asbirlea, mkazantsev Reviewed By: mkazantsev Subscribers: llvm-commits, fhahn Differential Revision: https://reviews.llvm.org/D89541
-
Geoffrey Martin-Noble authored
Without this I get a warning about not all paths returning. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D89760
-
Richard Smith authored
-
Lang Hames authored
Thanks for spotting this Mehdi!
-
Qiu Chaofan authored
From LangRef, FMF contract should not enable reassociating to form arbitrary contractions. So it should not help rearrange nodes like (fma (fmul x, c1), c2, y) into (fma x, c1*c2, y). Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D89527
-
Richard Smith authored
for which it matters. This is a step towards separating checking for a constant initializer (in which std::is_constant_evaluated returns true) and any other evaluation of a variable initializer (in which it returns false).
-
Volodymyr Sapsai authored
This reverts commit 4000c9ee. Test "LLVM :: Other/statistic.ll" is failing on Windows.
-
Wang, Pengfei authored
extract_vector_elt will turn type vxi1 into i8, which triggers the assertion fail. Since we don't really handle vxi1 cases in below code, we can just return from here. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D89096
-
Douglas Yung authored
Recently commit D78699 (commit 26cfb6e5), fixed clang's behavior with respect to passing a union type through a register to correctly follow the ABI. However, this is an ABI breaking change with earlier versions of the clang compiler, so we should add an -fclang-abi-compat option to address this. Additionally, the PS4 ABI requires the older behavior, so that is added as well. This change adds a Ver11 value to the ClangABI enum that when it is set (or the target is the PS4 triple), we skip the ABI fix introduced in D78699. Differential Revision: https://reviews.llvm.org/D89747
-
Kostya Kortchinsky authored
Cleaning up some of the GWP-ASan code base: - lots of headers didn't have the correct file name - adding `#ifdef` guard to `utilities.h` - correcting an `#ifdef` guard based on actual file name - removing an extra `;` - clang-format'ing the code (`-style=llvm`) Differential Revision: https://reviews.llvm.org/D89721
-
Duncan P. N. Exon Smith authored
Update clang/lib/Lex to stop relying on a `MemoryBuffer*`, using the `MemoryBufferRef` from `getBufferOrNone` since both locations had logic for checking validity of the buffer. There's potentially a functionality change, since the logic was wrong (it checked for `nullptr`, which was never returned by the old API), but if that was reachable the new behaviour should be better. Differential Revision: https://reviews.llvm.org/D89402
-
Casey Carter authored
Use `__FUNCSIG__` instead when compiling with MSVC. While we're touching `makeTypeIDImp`, remove the warning suppression for C4640 "construction of local static object is not thread safe" since C1XX now correctly constant-initializes `id`.
-
Casey Carter authored
The Standard doesn't include the ```c++ template<class T> T* atomic_fetch_meow(atomic<T*>, ...); ``` templates these tests are testing. (See https://bugs.llvm.org/show_bug.cgi?id=47908)
-
Casey Carter authored
-
Casey Carter authored
-
Casey Carter authored
... which forbids passing `memory_order_release` or `memory_order_acq_rel` to either overload of `atomic_flag_test_explicit`.
-
Casey Carter authored
The author of these tests apparently forgot that `atomic_{,un}signed_lock_free` are already specializations of `atomic`. -
Casey Carter authored
The predicate passed to `merge` must induce a strict weak ordering on its arguments.
-
Casey Carter authored
These three algorithm tests are incorrectly using `_LIBCPP_CONSTEXPR_AFTER_CXX17` instead of `TEST_CONSTEXPR_CXX17`.
-
Duncan P. N. Exon Smith authored
b3eff6b7 updated `Lexer::Lexer` to take `clang::MemoryBufferRef` instead of `clang::MemoryBuffer*`. Update LLDB to fix the bots.
-
Nico Weber authored
This reverts commit 4d2d287a. d09b0891 got reverted in 7ecd60bb.
-
Volodymyr Sapsai authored
-
Jon Chesterfield authored
[libomptarget][amdgcn] Implement missing symbols in deviceRTL Malloc, wtime are stubs. Malloc needs a hostrpc implementation which is a work in progress, wtime needs some experimentation to find out the multiplier to get a time in seconds as documentation is scarce. Reviewed By: ronlieb Differential Revision: https://reviews.llvm.org/D89725
-
Evgenii Stepanov authored
Revert "Fix compiler-rt build on Windows after D89640" This reverts commit a7acee89. This reverts commit d09b0891. Reason: breaks Linux / x86_64 build.
-
Duncan P. N. Exon Smith authored
Update `Lexer` / `Lexer::Lexer` to use `MemoryBufferRef` instead of `MemoryBuffer*`. Callers that were acquiring a `MemoryBuffer*` via `SourceManager::getBuffer` were updated, such that if they checked `Invalid` they use `getBufferOrNone` and otherwise `getBufferOrFake`. Differential Revision: https://reviews.llvm.org/D89398
-
Sean Silva authored
Now, convert-shape-to-std doesn't internally create memrefs, which was previously a bit of a layering violation. The conversion to memrefs should logically happen as part of bufferization. Differential Revision: https://reviews.llvm.org/D89669
-
Sean Silva authored
The framework was not tracking ops created in any regions of the cloned op. Differential Revision: https://reviews.llvm.org/D89668
-