- Sep 02, 2020
-
-
Martin Storsjö authored
-
Benjamin Kramer authored
Otherwise we'll silently miscompile things. Differential Revision: https://reviews.llvm.org/D86951
-
Simon Pilgrim authored
This patch uses partial DemandedElts masks to further simplify target shuffle chains and finally starts making target shuffle combining part of SimplifyDemandedBits/SimplifyDemandedVectorElts. We already manage this for Depth == 0 cases, where combineX86ShuffleChain would early-out if the shuffle combined to the same op, but the patch generalizes this by manipulating the depth handling of combineX86ShufflesRecursively - calling with a new Depth = 0 and reducing the maximum shuffle combine depth accordingly. Differential Revision: https://reviews.llvm.org/D66004
-
Raphael Isemann authored
This reverts commit 99f3b231. It breaks libcxx/modules/stds_include.sh.cpp on macOS as the new include to sys/cdefs.h causes a dependency from __config to the Darwin module (which already has a dependency on __config). This cyclic dependency breaks compiling the std module which breaks compiling pretty much every program with ToT libc++ and enabled modules. I'll revert for now to get the bots green again. Sorry for the inconvenience.
-
Shinji Okumura authored
This patch makes it possible for AAUB to use information from AANoUndef. This is the next patch of D86983 Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D86984
-
Shinji Okumura authored
When the associated value is undef, we immediately forced to indicate a pessimistic fixpoint so far. This patch changes the initialization to check the attribute given in IR at first and to indicate an optimistic fixpoint when it is given. This change will enable us to catch , for example, the following case in AAUB. ``` call void @foo(i32 noundef undef) ``` Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D86983
-
ZHANG Hongbin authored
Based on the PyType and PyConcreteType classes, this patch implements the bindings of Complex Type, Vector Type and Tuple Type subclasses. For the convenience of type checking, this patch defines a `mlirTypeIsAIntegerOrFloat` function to check whether the given type is an integer or float type. These three subclasses in this patch have similar binding strategy: - The function pointer `isaFunction` points to `mlirTypeIsA***`. - The `mlir***TypeGet` C API is bound with the `get_***` method in the python side. - The Complex Type and Vector Type check whether the given type is an integer or float type. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D86785
-
Zi Xuan Wu authored
Before upstream a new target called CSKY, make a new triple of that called Triple::csky. For now, it's a 32-bit little endian target and the detail can be referred at D86269. This is the split part of D86269, which add a new target called CSKY. Differential Revision: https://reviews.llvm.org/D86505
-
Fangrui Song authored
In GNU ld, gold and LLD, --no-allow-shlib-undefined is the default when linking an executable. The option disallows unresolved symbols in shared objects. (gold and LLD catch fewer cases than GNU ld. See D57385 for details) See D57569 why it is bad idea to use --allow-shlib-undefined for executables [a]. GNU ld traditionally copied DT_NEEDED entries transitively. This was deemed not good, so GNU ld 2.22 defaulted to --no-copy-dt-needed-entries. gold and LLD always behave like --no-copy-dt-needed-entries. rL221530 added -Wl,-allow-shlib-undefined to make some old releases of GNU ld's --no-copy-dt-needed-entries to actually work. Due to [a] and [b], this patch drops -Wl,-allow-shlib-undefined. [b]: In a -DBUILD_SHARED_LIBS=on build, `--as-needed --allow-shlib-undefined` can unexpectedly suppress some .dynsym entries. The issue can cause mlir-cpu-runner to fail at runtime. Note, on Debian, gcc newer than (gcc-9-20190125-2) enable --as-n...
-
Lang Hames authored
-
Alina Sbirlea authored
BasicAA can be freed (and it is not recomputed).
-
Lang Hames authored
If there's no initializer symbol in the current MaterializationResponsibility then bail out without installing JITLink passes: they're going to be no-ops anyway.
-
Lang Hames authored
A think-o in the existing code meant that dependencies were never registered. This failure could lead to crashes rather than orderly error propagation if initialization dependencies failed to materialize. No test case: The bug was discovered in an out-of-tree code and requires pathalogically misconfigured JIT to generate the original error that lead to the crash.
-
Eric Fiselier authored
There are currently some failures caused by this change internally. I'm working to debug them and hopefully these series of patches should be recommitted by the end of the week. Thank you to Micheal Park for the contributions, and for allowing the temporary rollback. The commits reverted by this change are: 7d15ece7 e0ec7a02 02197f7e a175a965
-
Richard Smith authored
of a unary - expression. This fixes an issue where we'd produce bogus diagnostics, and also should recover ~0.3% compile time.
-
Xing GUO authored
This patch adds a helper function DumpStrSection to simplify codes. Besides, nonprintable chars in debug_str and debug_str.dwo sections are printed as escaped chars. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D86918
-
Alina Sbirlea authored
Summary: Analyses are preserved in MemCpyOptimizer. Get analyses before running the pass and store the pointers, instead of using lambdas and getting them every time on demand. Reviewers: lenary, deadalnix, mehdi_amini, nikic, efriedma Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D74494
-
Jonas Devlieghere authored
Move the CommandObjectScript and CommandObjectRegexCommand under Commands where all the other CommandObject implementations live. Although neither implementations currently use the TableGen-generated CommandOptions.inc, this move would have been necessary anyway if they were to in the future.
-
Jordan Rupprecht authored
This was always unused, but the change in D86354 upgraded this to a compiler warning.
-
Yifan Shen authored
The Symbol Status in modules view is simplified so that only when the module has debug info and its size is non-zero, will the status message be displayed. The symbol status message is renamed to debug info size and flag message like "Symbols not found" and "Symbols loaded" is deleted. Differential Revision: https://reviews.llvm.org/D86662
-
Med Ismail Bennani authored
This patch changes the command interpreter sourcing logic for the REPL init file. Instead of looking for a arbitrary file name, it standardizes the REPL init file name to match to following scheme: `.lldbinit-<language>-repl` This will make the naming more homogenous and the sourcing logic future-proof. rdar://65836048 Differential Revision: https://reviews.llvm.org/D86987 Signed-off-by:Med Ismail Bennani <medismail.bennani@gmail.com>
-
Nathan Ridge authored
If the tree includes types derived from all specializations of a template, do not misleadingly label the root node with the name of a single specialization. Fixes https://github.com/clangd/clangd/issues/507 Differential Revision: https://reviews.llvm.org/D86861
-
Nathan Ridge authored
Fixes https://github.com/clangd/clangd/issues/504 Differential Revision: https://reviews.llvm.org/D86424
-
Varun Gandhi authored
This allows returning Optional values from constexpr contexts. Reviewed By: fhahn, dblaikie, rjmccall Differential Revision: https://reviews.llvm.org/D86354
-
Nick Desaulniers authored
File was inconsistent.
-
Thomas Raoux authored
This ensure that the symbols are being exported no matter what default visibility is set.
-
Matt Morehouse authored
Some libFuzzer users build using the build.sh script, without access to the <sanitizer/common_interface_defs.h> include. Update https://github.com/rust-fuzz/libfuzzer/issues/65. Reviewed By: dokyungs Differential Revision: https://reviews.llvm.org/D86981
-
Amy Kwan authored
This patch adds the builtin implementation for the xvcvspbf16 and xvcvbf16spn instructions. Differential Revision: https://reviews.llvm.org/D86795
-
Sergej Jaskiewicz authored
This fixes a regression in the test suite introduced by fad75598
-
Cameron McInally authored
A small piece of the project to replace getVectorNumElements() with getVectorElementCount(). Differential Revision: https://reviews.llvm.org/D86894
-
Julian Lettner authored
Thread Sanitizer is supported on macOS. rdar://68159753 Differential Revision: https://reviews.llvm.org/D86980
-
Sergej Jaskiewicz authored
Some LLVM unit tests forget to clean up temporary files and directories. Introduce RAII classes for cleaning them up. Refactor the tests to use those classes. Differential Revision: https://reviews.llvm.org/D83228
-
Amara Emerson authored
Revert "Revert "[GlobalISel] Fold xor(cmp(pred, _, _), 1) -> cmp(inverse(pred), _, _)" (and dependent patch "Optimize away a Not feeding a brcond by using tbz instead of tbnz.")" This reverts commit 8693ddc7. Re-committing with the test requiring asserts.
-
Anatoly Trosinenko authored
Fixes 93eed63d [builtins] Make __div[sdt]f3 handle denormal results.
-
Aaron Puchert authored
Other warning messages for negative capabilities also mention their kind, and the double space was ugly. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D84603
-
River Riddle authored
Unsigned and Signless attributes use uintN_t and signed attributes use intN_t, where N is the fixed width. The 1-bit variants use bool. Differential Revision: https://reviews.llvm.org/D86739
-
Michael Kruse authored
The wording before this patch applies to llvm.mem.parallel_loop_access, not access groups. Reviewed By: mppf, hfinkel Differential Revision: https://reviews.llvm.org/D83781
-
Jordan Rupprecht authored
Revert "[GlobalISel] Fold xor(cmp(pred, _, _), 1) -> cmp(inverse(pred), _, _)" (and dependent patch "Optimize away a Not feeding a brcond by using tbz instead of tbnz.") This reverts commit 8ad8f484. It causes crashes when running `ninja check-llvm-codegen-aarch64-globalisel`, e.g. http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/24132/steps/test-stage1-compiler/logs/stdio. Note that the crash does not seem to reproduce in debug builds. 5ded4442 depends on this, so revert that too.
-
Michael Liao authored
Summary: - There are promotable `alloca`s after loop unrolling. Reviewers: rampitec, arsenm Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, nikic, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D84252
-
Jordan Rupprecht authored
-