- Sep 23, 2021
-
-
Valentin Clement authored
This patch is part of the upstreaming effort from fir-dev branch and sync changes. Inline trival `isa_<type>` functions. Co-authored-by: schweitzpgi Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D110233
-
Dmitry Vyukov authored
tsan_rtl.h is very huge and contains too many things. Move FastState and Shadow types into a new tsan_shadow.h file. This also allows to use FastState/Shadow in other header files without creating circular dependencies (which most likely will happen today). Reviewed By: melver Differential Revision: https://reviews.llvm.org/D110272
-
Dmitry Vyukov authored
Fix few remaining cases where we use u64 instead of the new RawShadow type. Depends on D110265. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D110266
-
Dmitry Vyukov authored
Add a test for a trace corner case that lead to a bug in experimental runtime replacement. Since it passes with the current runtime it makes sense to submit it on its own. Depends on D110264. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D110265
-
Dmitry Vyukov authored
DontDumpShadow is used only in InitializeShadowMemory which is Go-only. Depends on D110263. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D110264
-
Dmitry Vyukov authored
Remove unnecessary enum values in the memory profiler. There is no point in spelling them, it can only lead to bugs and larger diffs when values are added/removed. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D110263
-
Alex Richardson authored
I noticed this while working on a (ptrtoint (gep null, x)) -> x fold. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D110168
-
Andre Vieira authored
Differential Revision: https://reviews.llvm.org/D107848
-
Petr Hosek authored
This reverts commit 5e28c892 as the linker on the clang-ppc64le-rhel bot doesn't seem to support --push-state/--pop-state.
-
Petr Hosek authored
When statically linking C++ standard library, we shouldn't add -Bdynamic after including the library on the link line because that might override user settings like -static and -static-pie. Rather, we should surround the library with --push-state/--pop-state to make sure that -Bstatic only applies to C++ standard library and nothing else. This has been supported since GNU ld 2.25 (2014) so backwards compatibility should no longer be a concern. Differential Revision: https://reviews.llvm.org/D110128
-
Jay Foad authored
This simplifies the API and addresses a FIXME in TwoAddressInstructionPass::convertInstTo3Addr. Differential Revision: https://reviews.llvm.org/D110229
-
Bjorn Pettersson authored
Differential Revision: https://reviews.llvm.org/D110062
-
Bjorn Pettersson authored
Bisecting and reducing opt pipelines that includes the ModuleInlinerWrapperPass has turned out to be a bit problematic. This is far from perfect (it still lacks information about inline advisor params etc.), but it should give some kind of hint to what the wrapped pipeline looks like when using -print-pipeline-passes. Reviewed By: aeubanks, mtrofin Differential Revision: https://reviews.llvm.org/D109878
-
Nathan Ridge authored
Prior to this patch, CollectExtraHighlightings would incorrectly produce a token for the init-capture's type which overlapped the name and resulted in both being dropped. Fixes https://github.com/clangd/clangd/issues/868 Differential Revision: https://reviews.llvm.org/D110130
-
Tharindu Rusira authored
Current warning message in method `addAffineForOpDomain` of mlir/lib/Analysis/AffineStructures.cpp is being printed to the stdout/stderr. This patch redirects the warning with LLVM_DEBUG following standard llvm practice. Reviewed By: bondhugula Differential Revision: https://reviews.llvm.org/D108340
-
Mike Hommey authored
Without such wrapping, linking lld fails with missing symbols because of C++ symbol mangling with older versions of the MacOSX SDK, in which xar.h doesn't have an extern "C" block itself. Reviewed By: #lld-macho, thakis Differential Revision: https://reviews.llvm.org/D110224
-
Liu, Chen3 authored
This patch is to support transform something like _mm512_add_ph(acc, _mm512_fmadd_pch(a, b, _mm512_setzero_ph())) to _mm512_fmadd_pch(a, b, acc). Differential Revision: https://reviews.llvm.org/D109953
-
Jan Svoboda authored
This patch uses a different command-line arguments to test `clang::tooling::ToolInvocation` that are not specific to Darwin. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D110160
-
Diana Picus authored
clang-cl errors out while handling the templated version of tgfmt. This patch works around the issue by explicitly choosing the non-templated version of tgfmt, which takes an ArrayRef<std::string>. More details in this thread: https://lists.llvm.org/pipermail/cfe-dev/2021-September/068936.html Thanks @Mehdi Amini for suggesting the fix :) Differential Revision: https://reviews.llvm.org/D110223
-
Mikael Holmen authored
-
Kent Ross authored
Implements parts of P1614, including synth-three-way and three way comparison for std::pair. Reviewed By: #libc, Quuxplusone, Mordante Differential Revision: https://reviews.llvm.org/D107721
-
Johannes Doerfert authored
This patch fixes a problem when the AAKernelInfo state was invalidated, e.g., due to `optnone` for a kernel, but not all parts indicated the invalidation properly. We further eliminate most full state invalidations as they should never be necessary. Differential Revision: https://reviews.llvm.org/D109468
-
Johannes Doerfert authored
The benchmark contained (partially) nested kernels, something we do not generate nor support.
-
Johannes Doerfert authored
-
Johannes Doerfert authored
-
Johannes Doerfert authored
-
Johannes Doerfert authored
These files should be kept clang-formatted but diverge sometimes.
-
Usman Nadeem authored
Differential Revision: https://reviews.llvm.org/D109667 Change-Id: I06a3c28e3658ecda109a3a1b73265828274ab2ea
-
Pengfei Wang authored
Reviewed By: #libc_abi, ldionne Differential Revision: https://reviews.llvm.org/D105278
-
Wang, Pengfei authored
[X86][FP16] Change the order of the operands in complex FMA intrinsics to allow swap between the mul operands. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D109658
-
John Demme authored
Enables putting types and attributes in sets and in dicts as keys. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D110301
-
Freddy Ye authored
[FROUND,FROUNDEVEN][f32, f64, f128] are set Expand twice. Differential Revision: https://reviews.llvm.org/D110302
-
Hsiangkai Wang authored
-
wlei authored
It seems we missed one spot to persist `SampleContextFrameVector` into the global table (CSProfileGenerator::populateFunctionBoundarySamples:340) which causes a crash. This change tried to fix it in a centralized way i. e. where we generate the `FunctionSamples`. Reviewed By: hoy, wenlei Differential Revision: https://reviews.llvm.org/D110275
-
wlei authored
It happened that the LBR entry target can be the first address of text section which causes an out-of-range crash. So here add a boundary check. Reviewed By: hoy, wenlei Differential Revision: https://reviews.llvm.org/D110271
-
wlei authored
The assertion should work on the entire context. Reviewed By: hoy, wenlei Differential Revision: https://reviews.llvm.org/D110268
-
hyeongyu kim authored
-
Arthur O'Dwyer authored
Instead of overloading `__to_address`, let's specialize `pointer_traits`. Function overloads need to be in scope at the point where they're called, whereas template specializations do not. (User code can provide pointer_traits specializations to be used by already-included library code, so obviously `__wrap_iter` can do the same.) `pointer_traits<__wrap_iter<It>>` cannot provide `pointer_to`, because you generally cannot create a `__wrap_iter` without also knowing the identity of the container into which you're trying to create an iterator. I believe this is OK; contiguous iterators are required to provide `to_address` but *not* necessarily `pointer_to`. Differential Revision: https://reviews.llvm.org/D110198
-
Michael Kruse authored
All tests use ISL, integrate its subfolder into the components they belong to.
-
Michael Kruse authored
This is a simple version without the possibility to define distribute points or followup-transformations. However, it is the first transformation that has to check whether the transformation is correct. It interprets the same metadata as the LoopDistribute pass.
-