- Jul 30, 2020
-
-
Jonas Devlieghere authored
LLVM's make_paths_relative uses Python3_EXECUTABLE which isn't set in standalone LLDB builds.
-
Alex Lorenz authored
for device simulators This change separates out the iOS/tvOS/watchOS simulator slices from the "libclang_rt.<os>.a" fat archive, by moving them out to their own "libclang_rt.<os>sim.a" static archive. This allows us to build and to link with an arm64 device simulator slice for the simulators running on Apple Silicons, and to distribute it in one archive alongside the Intel simulator slices. Differential Revision: https://reviews.llvm.org/D84564
-
Hiroshi Yamauchi authored
This reverts commit 120e66b3. Due to a buildbot failure.
-
shafik authored
We saw a crash recently (rdar://problem/65276489) that looks related to an invalid ValueObjectSP in a summary providers in Cocoa.cpp e.g. NSBundleSummaryProvider(...). This adds checks before we use them usually by calling NSStringSummaryProvider. Differential Revision: https://reviews.llvm.org/D84272
-
Craig Topper authored
-
Arthur Eubanks authored
From https://reviews.llvm.org/D84872.
-
Sanjay Patel authored
-
Sanjay Patel authored
-
Saleem Abdulrasool authored
When attempting to build compiler-rt on a developer transition kit, the build would fail due to `.S` files not being handled properly by the Ninja generator. Rather than conditionalising on Xcode, conditionalise to Darwin. Because we know that the system compiler is clang based, it will always properly handle the pre-processing based on the extension. Differential Revision: https://reviews.llvm.org/D84333
-
Hiroshi Yamauchi authored
To avoid hash collisions when the only difference is in mem ops. Differential Revision: https://reviews.llvm.org/D84782
-
Arthur Eubanks authored
This reduces the number of check-llvm failures by 500. Ideally we'd have a codegen version of PassRegistry.def, or have all the codegen passes ported and put into PassRegistry.def. But since that doesn't exist yet, hardcode the list of codegen IR passes. There are still codegen passes missing from this list, I'll add them later as I stumble upon them. Reviewed By: asbirlea, ychen Differential Revision: https://reviews.llvm.org/D84872
-
Johannes Doerfert authored
The problem with 8723280b was that the `dso_local` is *before* the void not after. Hope this works.
-
cgyurgyik authored
Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D84611
-
Philip Reames authored
This change is mechanical, it just removes the restriction and updates tests. The key building blocks were submitted in 31342eb6 and 8fe2abc1. Note that this (and preceeding changes) entirely subsumes D83965. I did includes a couple of it's tests. From the codegen changes, an interesting observation: this doesn't actual reduce spilling, it just let's the register allocator do it's job. That results in a slightly different overall result which has both pros and cons over the eager spill lowering. (i.e. We'll have some perf tuning to do once this is stable.)
-
Luboš Luňák authored
Also add a unittest. Differential Revision: https://reviews.llvm.org/D68541
-
Luboš Luňák authored
This makes it consistent with gdb tui, where 'f' is 'finish'. See the discussion at https://reviews.llvm.org/D68541 . Differential Revision: https://reviews.llvm.org/D68909
-
Luboš Luňák authored
'd' would be much better used for up/down shortcuts, and this also removes the possibility of ruining the whole debugging session by accidentally hitting 'd' or 'k'. Also change menu to have both 'detach and resume' and 'detach suspended' to make it clear which one is which. See discussion at https://reviews.llvm.org/D68541 . Differential Revision: https://reviews.llvm.org/D68908
-
aartbik authored
Transposed jagged diagonal storage yields longer vector lengths. Also, in contrast with naive SAXPY (one gather/scatter), this only performs one gather. Reviewed By: reidtatge Differential Revision: https://reviews.llvm.org/D84699
-
Johannes Doerfert authored
-
Nikita Popov authored
This adds a common API for compute constant ranges of intrinsics. The intention here is that a) we can reuse the same code across different passes that handle constant ranges, i.e. this can be reused in SCCP b) we only have to add knowledge about supported intrinsics to ConstantRange, not any consumers. Differential Revision: https://reviews.llvm.org/D84587
-
Tobias Gysi authored
The patch fixes minor issues in the rocm runtime wrapper due to api differences between CUDA and HIP. Reviewed By: herhut Differential Revision: https://reviews.llvm.org/D84861
-
Richard Smith authored
-
Fangrui Song authored
-
Victor Huang authored
[PowerPC] Support for R_PPC64_REL24_NOTOC calls where the caller has no TOC and the callee is not DSO local This patch supports the situation where caller does not have a valid TOC and calls using the R_PPC64_REL24_NOTOC relocation and the callee is not DSO local. In this case the call cannot be made directly since the callee may or may not require a valid TOC pointer. As a result this situation require a PC-relative plt stub to set up r12. Reviewed By: sfertile, MaskRay, stefanp Differential Revision: https://reviews.llvm.org/D83669
-
Simon Pilgrim authored
Instead of never accepting v8f32/v4f64 FHADD/FHSUB if the input shuffle masks cross lanes, perform the matching and determine if the post shuffle mask simplifies to a 'whole lane shuffle' mask - in which case we are guaranteed to cheaply perform this as a VPERM2F128 shuffle.
-
Philip Reames authored
-
Florian Hahn authored
This reverts the revert commit dc286757. It includes a fix for Polly, which uses SCEVExpander on IR that is not in LCSSA form. Set PreserveLCSSA = false in that case, to ensure we do not introduce LCSSA phis where there were none before.
-
Richard Smith authored
No other compiler accepts this as an extension, not even in permissive mode. We're not doing anyone any favors by allowing this, and it's unlikely to be at all common, even in Clang-only code, in the wild.
-
Stanislav Mekhanoshin authored
-
Stanislav Mekhanoshin authored
MFMA instructions shall not be scheduled back to back to avoid MAI SIMD stall. Tell post-RA schedule we would prefer some other instruction instead. Differential Revision: https://reviews.llvm.org/D84883
-
Louis Dionne authored
Fixes http://llvm.org/PR38572.
-
Matt Arsenault authored
This was using invalid MIR for the test instructions. The test add was the first instruction in the block, before the trunc inputs or copies from physical registers which I assume was not intended.
-
Tatyana Krasnukha authored
[lldb/Breakpoint] Rename StoppointLocation to StoppointSite and drop its relationship with BreakpointLocation Both of BreakpointLocation and BreakpointSite were inherited from StoppointLocation. However, the only thing they shared was hit counting logic. The patch encapsulates those logic into StoppointHitCounter, renames StoppointLocation to StoppointSite, and stops BreakpointLocation's inheriting from it. Differential Revision: https://reviews.llvm.org/D84527
-
Richard Smith authored
This can happen during error recovery; it could also happen at block scope if we ever parsed a template declaration at block scope.
-
Baptiste Saleil authored
Adds frontend and backend options to enable and disable the PowerPC paired vector memory operations added in ISA 3.1. Instructions using these options will be added in subsequent patches. Differential Revision: https://reviews.llvm.org/D83722
-
Matt Morehouse authored
Adds the -fast-16-labels flag, which enables efficient instrumentation for DFSan when the user needs <=16 labels. The instrumentation eliminates most branches and most calls to __dfsan_union or __dfsan_union_load. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D84371
-
Tatyana Krasnukha authored
-
Amara Emerson authored
Differential Revision: https://reviews.llvm.org/D84551
-
Philip Reames authored
Change the way we track how a particular pointer was relocated at a statepoint in selection dag. Previously, we used an optional<location> for the spill lowering, and a block local Register for the newly introduced vreg lowering. Combine all three lowerings (norelocate, spill, and vreg) into a single helper class, and keep a single copy of the information. This is submitted separately as it really does make the code more readible on it's own, but the indirect motivation is to move vreg tracking from StatepointLowering to FunctionLoweringInfo. This is the last piece needed to support cross block relocations with vregs; that will follow in a separate (non-NFC) patch.
-
Amara Emerson authored
In future, we'd like to use the perfect-shuffle mechanism to deal with these shuffle permutations. For now, this improves performance by avoiding the super-expensive const-pool load + tbl instruction. Differential Revision: https://reviews.llvm.org/D84866
-