- Feb 21, 2020
-
-
River Riddle authored
[mlir][Parser] Update DenseElementsAttr to print in hex when the number of elements is over a certain threshold. Summary: DenseElementsAttr is used to store tensor data, which in some cases can become extremely large(100s of mb). In these cases it is much more efficient to format the data as a string of hex values instead. Differential Revision: https://reviews.llvm.org/D74922
-
Scott Linder authored
This reverts commit 6123074d. Quoting/escaping rules seem host specific, so the test is failing on some bots.
-
Jonas Devlieghere authored
ProcessNetBSD has no initializers so it's just a regular library and shouldn't have the PLUGIN argument in add_lldb_library.
-
River Riddle authored
This fixes test failures caused by a change to the name of the main dylib, now called 'main'. It also hardens the engine against potential future changes to the name.
-
aartbik authored
Summary: This implements the last step for lowering vector.contract progressively to LLVM IR (except for masks). Multi-dimensional reductions that remain after expanding all parallel dimensions are lowered into into simpler vector.contract operations until a trivial 1-dim reduction remains. Reviewers: nicolasvasilache, andydavis1 Reviewed By: andydavis1 Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D74880
-
Florian Hahn authored
For tracked globals that are unknown after solving, we expect all non-store uses to be replaced. This is a follow-up to f8045b25, which removed forcedconstant. We should not mark unknown loads as overdefined, as they either load from an unknown pointer or an undef global. Restore the original logic for loads.
-
Eli Friedman authored
This includes both GEPs where the indexed type is a scalable vector, and GEPs where the result type is a scalable vector. Differential Revision: https://reviews.llvm.org/D73602
-
Scott Linder authored
Similar to the rest of the command line that is recorded, the program path must also have spaces and backslashes escaped. Without this parsing the recorded command line becomes hard on platforms like Windows where spaces and backslashes are common. Patch By: Ravi Ramaseshan Differential Revision: https://reviews.llvm.org/D74811
-
shafik authored
[ASTImporter] Add linkage check to ASTNodeImporter::hasSameVisibilityContext and rename to hasSameVisibilityContextAndLinkage This fixed is based on the assert in LinkageComputer::getLVForDecl(...) which assumes that all the decls in a redecl chain have the same linkage. Differential Revision: https://reviews.llvm.org/D74639
-
David Tenty authored
Summary: AIX supports both 32-bit and 64-bit environments (with 32-bit being the default). This patch improves support for building LLVM on AIX in both 32-bit and 64-bit mode. - Change host detection to return correct 32/64-bit triple as config_guess does not return the correct version on 64-bit. This can confuse JIT tests and other things that care about what the host triple is. - Remove manual setting of 64-bit flags on AIX. AIX provides OBJECT_MODE environment variable to enable the user to obtain a 64-bit development environment. CMake will properly set these flags provided the user sets the correct OBJECT_MODE before configuring and setting them manually will interfere with 32-bit builds. - Don't present the LLVM_BUILD_32_BITS option on AIX, users should use OBJECT_MODE when running CMake instead. Reviewers: hubert.reinterpretcast, DiggerLin, stevewan Reviewed By: DiggerLin, stevewan Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D74256
-
Craig Topper authored
With the correct author this time
-
Craig Topper authored
Revert 714265da "[X86] Replace a bad use of MVT::getVectorVT with EVT::getVectorVT" I accidentally messed up the author on the previous commit somehow.
-
Quentin Colombet authored
The type here isn't guaranteed to be a simple type. Fixes PR44976
-
Nico Weber authored
follow-up "libclang: Make shared object symbol exporting by default" This reverts commit 7a7c753b. This reverts commit 7ff1f55a. They broke building libclang.dll on Windows, see https://reviews.llvm.org/D74564
-
Nico Weber authored
This reverts commit ce70e289. It broke MC/AArch64/SVE2/bsl-diagnostics.s everywhere.
-
Sanjay Patel authored
-
Sourabh Singh Tomar authored
This reverts commit 3e109092 as per Paul Robinson's suggestion.
-
Francesco Petrogalli authored
The code at https://reviews.llvm.org/D74808 has broken builds that are configured with -DBUILD_SHARED_LIBS=On. This patch adds the correct library dependencies.
-
Richard Smith authored
We merged support for -std=c++20 to the Clang 10 branch, so -std=c++2a is only needed in Clang 9 and earlier.
-
Quentin Colombet authored
When analyzing PHIs, we gather the known bits for every operand and merge them together to get the known bits of the result of the PHI. It is not unusual that merging the information leads to know nothing on the result (e.g., phi a: i8 3, b: i8 unknown, ..., after looking at the second argument we know we will know nothing on the result), thus, as soon as we reach that state, stop analyzing the following operand (i.e., on the previous example, we won't process anything after looking at `b`). This improves compile time in particular with PHIs with a large number of operands. NFC.
-
Jan Korous authored
For tag typedefs like this one: /*! @class Foo */ typedef class { } Foo; clang -Wdocumentation gives: warning: '@class' command should not be used in a comment attached to a non-struct declaration [-Wdocumentation] ... while doxygen seems fine with it. Differential Revision: https://reviews.llvm.org/D74746 -
David Tenty authored
Summary: D51664 introduces a new structure BasicBlockBits which it expects to be packed a certain way. This change is very similar to D60164, and we apply the same fix: "On AIX, the canonical layout of bit-fields would cause these ... to span four bytes. Applying the pack pragma for compilers that employ the AIX canonical layout allows these ... to fit within the expected two bytes. In the future, the pragma would also likely need to be applied when building with Clang on AIX." Reviewers: jasonliu, hubert.reinterpretcast, sfertile, xingxue Reviewed By: sfertile Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D74911
-
Cristian Adam authored
https://reviews.llvm.org/D74564 enabled static building for libclang, and for non CMake consumers they had to set the `CMAKE_EXPORTS` define when consuming libclang. This commit makes the non CMake users of the static building have to define `CMAKE_NO_EXPORTS`. Differential Revision: https://reviews.llvm.org/D74907
-
Jonathan Coe authored
Summary: Merge 'argumentName' and ':' into a single token in foo(argumentName: bar). Add C# named argument as a token type. Reviewers: krasimir, MyDeveloperDay Reviewed By: krasimir Tags: #clang-format Differential Revision: https://reviews.llvm.org/D74894
-
Simon Pilgrim authored
The not_avg_v16i8_wide_constants test shouldn't assume NSW/NUW for the addition of -1 - copy + paste typo from other avg tests
-
Lang Hames authored
Can be used to set a custom pre-configured ExecutionSession for the LLJIT or LLLazyJIT instance being constructed.
-
Lang Hames authored
-
Matthias Kramm authored
Summary: Fix minor typos in the tutorial and the "writing a pass" page. Differential Revision: https://reviews.llvm.org/D74905
-
Alex Brachet authored
Summary: This patch adds signal support on Linux. The current implementation gets the SIG* macros and types like `sigset_t` from <linux/signals.h> This patch also adds raise(3), and internal routines `block_all_signals` and `restore_signals` Reviewers: sivachandra, MaskRay, gchatelet Reviewed By: sivachandra Subscribers: libc-commits, mgorny, tschuett Differential Revision: https://reviews.llvm.org/D74528
-
Sanjay Patel authored
The motivating case is seen in "splat4_v8f32_load_store" and based on code in PR42024: https://bugs.llvm.org/show_bug.cgi?id=42024 (I haven't stepped through the v8i32 sibling test yet to see why that diverged.) There are other potential improvements visible like allowing scalarization or vector narrowing. Differential Revision: https://reviews.llvm.org/D74909
-
Sean Fertile authored
-
Francis Visoiu Mistrih authored
This reverts commit 726c342c. This breaks the windows bots with linker errors.
-
River Riddle authored
Summary: The current structure suffers from several problems, but the main one is that a construction failure is impossible to debug when using the 'get' methods. This is because we only optionally emit errors, so there is no context given to the user about the problem. This revision restructures this so that errors are always emitted, and the 'get' methods simply pass in an UnknownLoc to emit to. This allows for removing usages of the more constrained "emitOptionalLoc", as well as removing the need for the context parameter. Fixes [PR#44964](https://bugs.llvm.org/show_bug.cgi?id=44964) Differential Revision: https://reviews.llvm.org/D74876
-
Francis Visoiu Mistrih authored
This moves all the logic of converting LLVM Triples to MachO::CPU_(SUB_)TYPE from the specific target (Target)AsmBackend to more convenient functions in libObject. This also gets rid of the separate two X86AsmBackend classes. Differential Revision: https://reviews.llvm.org/D74808
-
Simon Pilgrim authored
-
Jordan Rupprecht authored
Summary: lldb's format string (line one) is: `lldb version $clang_version ($lldb_repo revision $lldb_revision)` When only using $lldb_revision and not $lldb_repo, this might look like: `lldb version 11 ( revision 12345)` which looks pretty ugly. Aside: I'm not sure we really need all the different versions since we've moved to the monorepo layout -- I don't think anyone is using different llvm/clang/lldb revisions, are they? We could likely tidy this up further if we knew how people consumed the output of lldb --version. Reviewers: labath, JDevlieghere, friss Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D74859
-
Muhammad Omair Javaid authored
Summary: Requesting registers one by one takes a while in our project. We want to get rid of it by using target.xml. Reviewers: jarin, labath, omjavaid Reviewed By: labath, omjavaid Subscribers: omjavaid, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D74217
-
Louis Dionne authored
For each absolute path given to C_INCLUDE_DIRS, we want it to be added as-is to the include search path. Relative paths should be prefixed with the sysroot. Thanks to Marco Hinz for the patch. Differential Revision: https://reviews.llvm.org/D69221
-
Craig Topper authored
-
Eugene Zelenko authored
Summary: Also use //check// in add_new_check.py for terminology consistency. PS My GitHub ID is [[ https://github.com/EugeneZelenko | EugeneZelenko ]], if it's necessary for attribution. Reviewers: alexfh, hokein, aaron.ballman, njames93, MyDeveloperDay Reviewed By: njames93 Subscribers: Andi, xazax.hun, cfe-commits Tags: #clang-tools-extra, #clang Differential Revision: https://reviews.llvm.org/D73580
-