- Apr 24, 2022
-
-
Jun Ma authored
This patch set LastCallToStaticBonus based on check, it has no noticeable size reduction on an internal workload and linux kernel with Os/Oz. Differential Revision: https://reviews.llvm.org/D124233
-
Nick Kreeger authored
Revert "[mlir][sparse] Expose SpareTensor passes as enums instead of opaque numbers for vectorization and parallelization options." This reverts commit d59cf901. Build fails on NVIDIA Sparse tests: https://lab.llvm.org/buildbot/#/builders/61/builds/25447
-
Nick Kreeger authored
Revert "Revert "Revert "Revert "[Concepts] Fix overload resolution bug with constrained candidates"""" This reverts commit cfc2c590.
-
Nick Kreeger authored
Revert "Revert "Revert "[Concepts] Fix overload resolution bug with constrained candidates""" This reverts commit a0636b58.
-
Nick Kreeger authored
Revert "Revert "[Concepts] Fix overload resolution bug with constrained candidates"" This reverts commit f6af446b.
-
Nick Kreeger authored
This reverts commit a0636b58.
-
Nick Kreeger authored
This reverts commit f6af446b.
-
Nick Kreeger authored
This reverts commit 807e4184.
-
Nick Kreeger authored
[mlir][sparse] Expose SpareTensor passes as enums instead of opaque numbers for vectorization and parallelization options. The SparseTensor passes currently use opaque numbers for the CLI, despite using an enum internally. This patch exposes the enums instead of numbered items that are matched back to the enum. Fixes GitHub issue #53389 Reviewed by: aartbik, mehdi_amini Differential Revision: https://reviews.llvm.org/D123876
-
Roy Jacobson authored
When doing overload resolution, we have to check that candidates' parameter types are equal before trying to find a better candidate through checking which candidate is more constrained. This revision adds this missing check and makes us diagnose those cases as ambiguous calls when the types are not equal. Fixes GitHub issue https://github.com/llvm/llvm-project/issues/53640 Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D123182
-
Fangrui Song authored
With the -enable-new-pm defaulting to true, the two forms have the same effect, but the previous form uses the legacy pass manager syntax which is being phased out.
-
Fangrui Song authored
The Bazel layering_check feature compiles libraries with `-fmodule-name=X -fmodules-strict-decluse` which require #include to be in deps.
-
Fangrui Song authored
-
Vince Bridgers authored
A recent review emphasized the preference to use DefaultBool instead of bool for checker options. This change is a NFC and cleans up some of the instances where bool was used, and could be changed to DefaultBool. Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D123464
-
Joseph Huber authored
When we do LTO we consider ourselves to have whole program visibility if every single input file we have contains LLVM bitcode. If we have whole program visibliity then we can create a single image and utilize CUDA's non-RDC mode by not passing `-c` to `ptxas` and ignoring the `nvlink` job. This should be faster for some situations and also saves us the time executing `nvlink`. Reviewed By: tra Differential Revision: https://reviews.llvm.org/D124292
-
Mark de Wever authored
D123182 fixes a bug in Clang's overload resolution. After it landed it was discovered `basic_format_arg`'s constructors contains this bug. This fixes the bug in libc++, unblocking D123182. The code has been tested in combination with D123182. Reviewed By: royjacobson, #libc Differential Revision: https://reviews.llvm.org/D124103
-
Amir Ayupov authored
Refactor nested conditions. NFC Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D123861
-
- Apr 23, 2022
-
-
Iain Sandoe authored
When the -fdirectives-only option is used together with -E, the preprocessor output reflects evaluation of if/then/else directives. Thus it preserves macros that are still live after such processing. This output can be consumed by a second compilation to produce a header unit. We automatically invoke this (with -E) when we know that the job produces a header unit so that the preprocessed output reflects the macros that will be defined when the binary HU is emitted. Differential Revision: https://reviews.llvm.org/D121591
-
Eric Schweitz authored
Remove redundant code. Differential Revision: https://reviews.llvm.org/D124310
-
Florian Hahn authored
Also moves the test to use the new pass manager.
-
Florian Hahn authored
Update the test to use the SLU version of the option.
-
Florian Hahn authored
-
Florian Hahn authored
We already know that we will construct a SCEVConstant. Directly use getConstant, rather than going through getSCEV.
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D124324
-
Matthias Springer authored
Run `one-shot-bufferize` instead of `linalg-comprehensive-module-bufferize` and move some test cases to their respective dialects. Differential Revision: https://reviews.llvm.org/D124323
-
Iain Sandoe authored
Allow an invocation like clang -fmodule-header bar.h (which will be a C++ compilation, but using a header which will be recognised as a C one). Also we do not want to produce: "treating 'c-header' input as 'c++-header' when in C++ mode" diagnostics when the user has been specific about the intent. Differential Revision: https://reviews.llvm.org/D121590
-
River Riddle authored
Now that dialect constructors are generated in the .cpp file, we can drop all of the dependent dialect includes from the .h file. Differential Revision: https://reviews.llvm.org/D124298
-
River Riddle authored
By generating in the .h file, we were forcing dialects to include a lot of additional header files because: * Fields of the dialect, e.g. std::unique_ptr<>, were unable to use forward declarations. * Dependent dialects are loaded in the constructor, requiring the full definition of each dependent dialect (which, depending on the file structure of the dialect, may include the operations). By generating in the .cpp we get much faster builds, and also better align with the rest of the code base. Fixes #55044 Differential Revision: https://reviews.llvm.org/D124297
-
Alok Kumar Sharma authored
In case of OpenMP programs, thread local variables can be present in any clause pertaining to OpenMP constructs, as we know that compiler generates artificial functions and in some cases values are passed to those artificial functions thru parameters. For an example, if thread local variable is present in copyin clause (testcase attached with the patch), parameter with same name is generated as parameter to artificial function. When user inquires the thread Local variable, its debug info is hidden by the parameter. User never gets the actual TLS variable when inquires it, instead gets the artificial parameter. Current patch suppresses the debug info for such artificial parameter to enable correct debugging of TLS variables. Reviewed By: aprantl Differential Revision: https://reviews.llvm.org/D123787
-
Vitaly Buka authored
-
Vitaly Buka authored
Revent acidentally deleted lines. This reverts commit ff25f694.
-
Chang-Sun Lin Jr authored
[NFC][LAA] Match-up type sizes for possible extensions, based on actual bit-size rather than rounded-up byte size. Differential Revision: https://reviews.llvm.org/D119200
-
Vitaly Buka authored
-
Enna1 authored
Fix mismatched-new-delete in asan test unaligned_loads_and_stores.cpp Reviewed By: vitalybuka, MaskRay Differential Revision: https://reviews.llvm.org/D124268
-
Akira Hatanaka authored
`_HAS_STATIC_RTTI` should be set to 0 only by `-fno-rtti` according to the summary of https://reviews.llvm.org/D103771. rdar://92039243 Differential Revision: https://reviews.llvm.org/D124312
-
Zakk Chen authored
In D123418 we removed some RUN line (ex. RV32-ELEN16) but their expected results still exist there. Remove them and rename prefix for more descriptive. Reviewed By: frasercrmck, asb, craig.topper Differential Revision: https://reviews.llvm.org/D124179
-
Vitaly Buka authored
The patch does not fix the bot. This reverts commit 62b78a06.
-
Vitaly Buka authored
It's not clear how ready it's there.