- Feb 05, 2022
-
-
Fangrui Song authored
-
David Goldman authored
This reverts commit 4dfd1132 due to the failures on Linux CI: https://lab.llvm.org/buildbot/#/builders/188/builds/9296
-
Róbert Ágoston authored
Memory instructions like extending loads from the same address are not equal if their size is not equal. This fixes https://github.com/llvm/llvm-project/issues/53524. Differential Revision: https://reviews.llvm.org/D118805
-
Joseph Huber authored
Changes the remark to emit on the function call that captures the globalized variable instead of the globalized variable itself. The user should be able to see which variable it was in the argument list of the function. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D106980
-
David Goldman authored
If this doesn't work will just revert the change, can't seem to repro on macOS.
-
River Riddle authored
This is not a general construct, and shouldn't have been defined in OpBase. This moves a copy to both MemRefOps+TensorOps, which are the only users.
-
Matt Arsenault authored
Fixes some assert on invalid situations and starts directly emitting the error.
-
Louis Dionne authored
To ensure a smooth transition without breaking CI, we should use explicitly versioned Clangs in the CI jobs definition instead, since that's a change we can actually test in the CI. So instead of bumping the compiler version from the Docker image, use the same version as before by default, and we can bump it from the CI job definition once all the nodes are running the new image.
-
Arthur O'Dwyer authored
Basically a rebase of D104980; most of that patch had already happened via gradual drive-by changes, but this finishes it up. Don't touch the inclusions from `<__functional_base>`, `<__hash_table>`, or `<__locale>`; those could be removed if we propagated the inclusions up to the includers of those files, but there are lots of those includers. `<algorithm>`, `<functional>`, and `<memory>` already include `<utility>` at the top level. `<iterator>` did not, so I've added it there. Differential Revision: https://reviews.llvm.org/D119020
-
Louis Dionne authored
Differential Revision: https://reviews.llvm.org/D118830
-
Lei Zhang authored
Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D119032
-
Fangrui Song authored
Similar to f457863a
-
Joseph Huber authored
Summary: The new runtime was deleted. AMD's old runtime used the triple name `amdgcn` while the new runtime used `amdgpu`. This was not updated when the old runtime was removed causing the library to not be found on AMDGPU.
-
Matt Arsenault authored
-
Lei Zhang authored
-
David Goldman authored
With this change, clangd now computes framework-style includes for framework headers at indexing time. Differential Revision: https://reviews.llvm.org/D117056
-
Byoungchan Lee authored
Xcode 13 comes with a mismatched platform in libcompiler_rt.dylib, so this creates a linker error on mac catalyst. Fix it by adding it to the skip list. Reviewed By: MaskRay, #lld-macho, int3 Differential Revision: https://reviews.llvm.org/D117925
-
Lei Zhang authored
Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D119030
-
Masoud Ataei authored
differential: https://reviews.llvm.org/D119035 reviewer: bmahjour
-
Fangrui Song authored
-fprofile-use=/-fprofile-sample-use= compiles may produce REL-format .rel.llvm.call-graph-profile even if the prevailing format is RELA on AArch64. Add R_AARCH64_NONE to getImplicitAddend to fix this linker error: ``` ld.lld: error: internal linker error: cannot read addend for relocation R_AARCH64_NONE PLEASE submit a bug report to https://crbug.com and run tools/clang/scripts/process_crashreports.py (only works inside Google) which will upload a report and include the crash backtrace. ```
-
Benjamin Kramer authored
-
Arthur O'Dwyer authored
var-const points out that `ranges::begin` is (non-normatively but explicitly) always supposed to return a `std::input_or_output_iterator`, and `Incomplete*` is not a `std::input_or_output_iterator` because it has no `operator++`. Therefore, we should never return `Incomplete*` from `ranges::begin(x)`, even when `x` is `Incomplete(&)[]`. Instead, just SFINAE away. Differential Revision: https://reviews.llvm.org/D118963
-
Paulo Matos authored
Reland of 00bf4755. This patches fixes the visibility and linkage information of symbols referring to IR globals. Emission of external declarations is now done in the first execution of emitConstantPool rather than in emitLinkage (and a few other places). This is the point where we have already gathered information about used symbols (by running the MC Lower PrePass) and not yet started emitting any functions so that any declarations that need to be emitted are done so at the top of the file before any functions. This changes the order of a few directives in the final asm file which required an update to a few tests. Reviewed By: sbc100 Differential Revision: https://reviews.llvm.org/D118995
-
Aaron Ballman authored
-
Matt Arsenault authored
This is more precise in the face of indirect calls and aliases, still assuming the call target is defined somewhere in the current module. This sometimes changes the order the functions are printed, and also changes the point where context errors are printed relative to stdout. This also likely has negative consequences for compile time and memory usage.
-
Matt Arsenault authored
Compute the theoretical register budget based on the IR function signature/attributes, and use the global maximum register budgets for unknown callees. This should fix the kernel reported register usage in the presence of indirect calls. The previous fix in 2b08f6af was incorrect becauset it was only taking the maximum in the known call graph, and missing something that was either outside of it or codegened later. This fixes a second case I discovered where calls to aliases also did not work as expected. CallGraphAnalysis misses these, so functions called through aliases were not codegened ahead of callers as expected. CallGraphAnalysis should probably be fixed to understand this case, and there's likely a bug with IPRA here. This fixes numerous failures in the conformance test at -O0.
-
Nikolas Klauser authored
For some reason `<string>` defines `std::fpos`, which should be defined in `<ios>`. Reviewed By: Quuxplusone, Mordante, #libc Spies: libcxx-commits, mgorny Differential Revision: https://reviews.llvm.org/D118914
-
Arthur Eubanks authored
-
Louis Dionne authored
It looks like we added some checks to try and use builtin type traits in https://reviews.llvm.org/D67900, but some of those type traits are never implemented as builtins, so this is essentially dead code. Fixes llvm-project#53569 Differential Revision: https://reviews.llvm.org/D118923
-
minglotus-6 authored
The test case is added to demonstrate diff before and after patch D114832. The solution is Differential Revision: https://reviews.llvm.org/D118846
-
Simon Pilgrim authored
Make it clear that it matches a non-empty sequence of ones, matches the descriptions for isShiftedMask_32/64 as suggested on D119019
-
Paul Robinson authored
If a test simply returns, it gets mis-reported as a pass; being reported as SKIPPED is correct. Found by the Rotten Green Tests project.
-
Florian Mayer authored
this is to get the implementation closer to HWASan Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D118960
-
Joseph Huber authored
This patch completely removes the old OpenMP device runtime. Previously, the old runtime had the prefix `libomptarget-new-` and the old runtime was simply called `libomptarget-`. This patch makes the formerly new runtime the only runtime available. The entire project has been deleted, and all references to the `libomptarget-new` runtime has been replaced with `libomptarget-`. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D118934
-
Philip Reames authored
All members of a scheduled bundle must have valid dependencies, with no unscheduled ones, and only the lead element gets marked scheduled.
-
Aaron Ballman authored
A significant number of our tests in C accidentally use functions without prototypes. This patch converts the function signatures to have a prototype for the situations where the test is not specific to K&R C declarations. e.g., void func(); becomes void func(void); This is the second batch of tests being updated (there are a significant number of other tests left to be updated).
-
Joseph Huber authored
This patch adds the '-Bsymbolic' flag when we perform linking for the offloading device. We already pass '-fvisibility=protected' but this is not properly handled when using the bfd linker as is described in https://maskray.me/blog/2021-05-16-elf-interposition-and-bsymbolic. Previously this caused linker errors when creating the shared library. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D119018
-
Shilei Tian authored
This can fix the case atomic_messages
-
Konstantin Varlamov authored
-
wren romano authored
Explicitly nests passes for FuncOp, adds more options to the sparse-compiler pipeline, and updates python integration tests. This should be sufficient to close https://github.com/llvm/llvm-project/issues/51751 Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D118658
-