- Feb 21, 2020
-
-
Vedant Kumar authored
Use the lazy instruction ordering facility for block-local dominance queries. Differential Revision: https://reviews.llvm.org/D74931
-
Bill Wendling authored
Similarly to how splitting predecessors with an indirectbr isn't handled in the generic way, we also shouldn't split callbrs, for similar reasons.
-
Michael Spencer authored
The OSX_ARCHITECTURES property is supposed to add the -arch flag when targeting Apple platforms. However, due to a bug in CMake (https://github.com/Kitware/CMake/blob/master/Source/cmLocalGenerator.cxx#L1780), this does not apply to assembly files. This results in a linker error when trying to build libunwind for i386 on MacOS. rdar://59642189
-
Mark de Wever authored
This patch enables throwing exceptions for invalid backreferences in the constructor when using the basic, extended, grep, or egrep grammar. This fixes bug 34297. Differential Revision: https://reviews.llvm.org/D62453
-
Craig Topper authored
-
Craig Topper authored
We already do this for v2i1, v4i1, etc.
-
Craig Topper authored
-
Craig Topper authored
VK1 was being used as the output of the copy to regclass, but it should be VK2/VK4. Shouldn't matter in practice though since VK1/VK2/VK4/VK8/VK16 are all identicaly and just have different VTs.
-
Craig Topper authored
We already did this for v2i1, v4i1, v8i1, etc.
-
Louis Dionne authored
-
Jonas Devlieghere authored
Now that the test live in the same directory the README is no longer relevant.
-
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
-