- Sep 30, 2020
-
-
Mehdi Amini authored
Fix TODO in the mlir-cpu-runner/bare_ptr_call_conv.mlir test: call ops in bare-ptr calling convention is supported now (NFC) This was fixed in a89fc126.
-
Walter Erquinigo authored
The destructor must be defined in the implementation class so that it can be called, as Vedant Kumar pointed out in: ''' What were your thoughts, re: +class Trace : public PluginInterface { +public: + ~Trace() override = default; Does this need to be `virtual ~Trace() = ...`? Otherwise, when a std::shared_ptr<Trace> is destroyed, the destructor for the derived TraceIntelPT instance won't run. ''' -
Louis Dionne authored
-
Dave Lee authored
The `macos-setup-codesign.sh` script has been in place for over two years. If there are no known issues, it's a good time to drop the manual steps from the docs. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D88257
-
Louis Dionne authored
- Detect whether a build has passed more accurately - Retry pushing the status to Phabricator - Allow running on a non-review branch
-
Louis Dionne authored
-
Sanjay Patel authored
I think we initially made this fold conservative to be safer, but we do not need the alignment attribute/metadata limitation because the masked load intrinsic itself specifies the alignment. A normal vector load is better for IR transforms and should be no worse in codegen than the masked alternative. If it is worse for some target, the backend can reverse this transform. Differential Revision: https://reviews.llvm.org/D88505
-
Diego Caballero authored
This patch adds support for the 'return' and 'call' ops to the bare-ptr calling convention. These changes also align the bare-ptr calling convention code with the latest changes in the default calling convention and reduce the amount of customization code needed. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D87724
-
Nikita Popov authored
After D88276 we no longer expect computeKnownBits() to prove non-zeroness for cases where isKnownNonZero() can't, so don't fall through to it.
-
Aaron Ballman authored
This changes some diagnostics to use terminology from the standard rather than invented terminology, which improves consistency with other diagnostics as well. There are no functional changes intended other than wording and naming.
-
Zequan Wu authored
Differential Revision: https://reviews.llvm.org/D87811
-
Jim Ingham authored
This reverts commit f775fe59. I fixed a return type error in the original patch that was causing a test failure. Also added a REQUIRES: python to the shell test so we'll skip this for people who build lldb w/o Python. Also added another test for the error printing.
-
Kadir Cetinkaya authored
convert_to_slash is a no-op on posix style.
-
Eugene Zhulenev authored
Start Async dialect for modeling asynchronous execution. Reviewed By: mehdi_amini, herhut Differential Revision: https://reviews.llvm.org/D88459
-
LLVM GN Syncbot authored
-
Stella Laurenzo authored
* Providing stable, C-accessible definitions for bridging MLIR Python<->C APIs, we eliminate inter-extension dependencies (i.e. they can all share a diamond dependency on the MLIR C-API). * Just provides accessors for context and module right now. * Needed in NPComp in ~a week or so for high level Torch APIs. Differential Revision: https://reviews.llvm.org/D88426
-
Mircea Trofin authored
Added unittests. In the process, separated core construction - which just needs the hits, order, and 'HardHints' values - from construction from current register allocation state, to simplify testing. Differential Revision: https://reviews.llvm.org/D88455
-
Fangrui Song authored
GCC 7 introduced -fprofile-update={atomic,prefer-atomic} (prefer-atomic is for best efforts (some targets do not support atomics)) to increment counters atomically, which is exactly what we have done with -fprofile-instr-generate (D50867) and -fprofile-arcs (b5ef137c). This patch adds the option to clang to surface the internal options at driver level. GCC 7 also turned on -fprofile-update=prefer-atomic when -pthread is specified, but it has performance regression (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89307). So we don't follow suit. Differential Revision: https://reviews.llvm.org/D87737 -
Sanjay Patel authored
The test after the changed test was checking exactly the same dereferenceable bytes.
-
Simon Pilgrim authored
Attempt to fold trunc (*shr (trunc A), C) --> trunc(*shr A, C) iff the shift amount if small enough that all zero/sign bits created by the shift are removed by the last trunc. Helps fix the regressions encountered in D88316. I've tweaked a couple of shift values as suggested by @lebedev.ri to ensure we have coverage of shift values close (above/below) to the max limit. Differential Revision: https://reviews.llvm.org/D88429
-
Fangrui Song authored
Fixes https://reviews.llvm.org/D70378#2299569 Multiple -mllvm is intended to be supported. We don't have a proper test for `-plugin-opt=-`. This patch adds the test as well. Differential Revision: https://reviews.llvm.org/D88461
-
Sanjay Patel authored
It apparently didn't cause trouble for the parser or FileCheck, but it was confusing to see a function def split by asserts.
-
Simon Pilgrim authored
-
Simon Pilgrim authored
TargetFrameLowering.h is guaranteed to be covered by LanaiFrameLowering.h
-
Juneyoung Lee authored
This patch adds noundef to the returned pointers of allocators (malloc, calloc, ...) and the pointer argument of free. The returned pointer of allocators cannot be poison or (partially) undef. Since the pointer that is given to free should precisely have zero offset, it cannot be poison or (partially) undef too. For the size arguments of allocators, noundef wasn't attached simply because I wasn't sure whether attaching it is okay or not. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D87984
-
Valentin Clement authored
This patch introduces the acc.shutdown operation that represents an OpenACC shutdown directive. Clauses are derived from the spec 2.14.2 Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D88272
-
Jonas Devlieghere authored
As pointed out by Pavel in D88249.
-
Aleksandr Platonov authored
As @kadircet mentions in D84912#2184144, `findNearbyIdentifier()` traverses the whole file if there is no identifier for the word. This patch ensures give up after 2^N lines in any case. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D87891
-
Louis Dionne authored
This fixes a couple of issues, such as failing filesystem tests (due to running the tests as root), and not running with the GCC we downloaded.
-
Zequan Wu authored
Differential Revision: https://reviews.llvm.org/D88456
-
Michael Kruse authored
The Microsoft compiler emits an error when populating the vector with a single element of a templated argument using the brace syntax. The error is: ``` constant.h(102,1): error C2664: 'std::vector<Fortran::evaluate::value::Complex<...>, ...>::vector(std::initializer_list<_Ty>,const _Alloc &)': cannot convert argument 1 from 'initializer list' to 'std::initializer_list<_Ty>' ``` To work around this error, we replace the templated constructor with one for the expected type. Conversion to the element type has to be done by the caller. This patch is part of the series to make flang compilable with MS Visual Studio <http://lists.llvm.org/pipermail/flang-dev/2020-July/000448.html>. Reviewed By: klausler Differential Revision: https://reviews.llvm.org/D88163
-
Arthur O'Dwyer authored
After rebasing my trivially-relocatable branch, this behavior was broken... but no libc++ unit test caught it! Add a regression test specifically for erasing out of a vector. Differential Revision: https://reviews.llvm.org/D88421
-
Simon Pilgrim authored
-
Simon Pilgrim authored
I added additional test coverage at rG7a55989d - but all are handled independently of this combine and http://lab.llvm.org:8080/coverage/coverage-reports/ indicates the code is never used. Differential revision: https://reviews.llvm.org/D88492
-
Jonas Devlieghere authored
Configuring the variable in CMake isn't enought, because the build mode can't be resolved until execution time, which requires the build mode to be substituted by lit.
-
Louis Dionne authored
Also, remove workarounds for ancient Clangs from is_constructible tests.
-
- Sep 29, 2020
-
-
Jonas Devlieghere authored
-
Alex Lorenz authored
The FatalErrorHandler.cpp file uses 'abort', but doesn't include 'stdlib.h'. This causes a build error when modules are used in clang.
-
Utkarsh Saxena authored
MSAN build times out for generated DecisionForest inference runtime. A solution worth trying is splitting the function into 300 smaller functions and then re-enable msan. For now we are disabling instrumentation for the generated function. Differential Revision: https://reviews.llvm.org/D88495
-
Simon Pilgrim authored
-