- Jul 20, 2021
-
-
Eli Friedman authored
Allow arbitrary strides, and make sure we return the correct result when the backedge-taken count is zero. Differential Revision: https://reviews.llvm.org/D106197
-
Yi Zhang authored
Only memref with identity layout map is supported for now. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D106180
-
Philip Reames authored
Wrap semantics are subtle when combined with multiple exits. This has caused several rounds of confusion during recent reviews, so try to document the subtly distinction between when wrap flags provide <u and <=u facts.
-
Arthur Eubanks authored
Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D106307
-
Arthur Eubanks authored
The specific case that triggered this was when inlining a recursive internal function into itself caused the recursion to go away, allowing the inliner to mark the function as dead. The inliner marks the SCC as invalidated but does not provide a new SCC to continue with. This matches the implementations of ModuleToPostOrderCGSCCPassAdaptor and CGSCCPassManager. Fixes PR50363. Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D106306
-
Quinn Pham authored
This patch is in a series of patches to provide builtins for compatibility with the XL compiler. This patch adds software divide builtins with no checking. These builtins are each emitted as a fast fdiv. Reviewed By: #powerpc, nemanjai Differential Revision: https://reviews.llvm.org/D106150
-
MaheshRavishankar authored
The `reifyReturnTypeShapesPerResultDim` method supports shape inference for rsults that are ranked types. These are used lower in the codegeneration stack than its counter part `reifyReturnTypeShapes` which also supports unranked types, and is more suited for use higher up the compilation stack. To have separation of concerns, this method is split into its own interface. See discussion : https://llvm.discourse.group/t/better-layering-for-infershapedtypeopinterface/3823 Differential Revision: https://reviews.llvm.org/D106133
-
LLVM GN Syncbot authored
-
Nathan Ridge authored
Fixes PR50774 Differential Revision: https://reviews.llvm.org/D104619
-
Sam Clegg authored
This avoids duplication and simplifies the code in several places without increasing the size of the symbol union (at least not above the assert'd limit of 120 bytes). Differential Revision: https://reviews.llvm.org/D106026
-
Jim Ingham authored
When we go to destroy the process, we first try to halt it, if we succeeded and the target stopped, we want to clear out the thread plans and breakpoints in case we still need to resume to complete killing the process. If the target was exited or detached, it's pointless but harmless to do this. But if the state is eStateInvalid - for instance if we tried to interrupt the target to Halt it and that fails - we don't want to keep trying to interact with the inferior, so we shouldn't do this work. This change explicitly checks eStateStopped, and only does the pre-resume cleanup if we did manage to stop the process.
-
Artem Belevich authored
This reverts commit 2c98298a which breaks sanitizers.
-
thomasraoux authored
Differential Revision: https://reviews.llvm.org/D106311
-
Derek Schuff authored
Debug info sections need R_WASM_FUNCTION_OFFSET_I32 relocs (with FK_Data_4 fixup kinds) to refer to functions (instead of R_WASM_TABLE_INDEX as is used in data sections). Usually this is done in a convoluted way, with unnamed temp data symbols which target the start of the function, in which case WasmObjectWriter::recordRelocation converts it to use the section symbol instead. However in some cases the function can actually be undefined; in this case the dwarf generator uses the function symbol (a named undefined function symbol) instead. In that case the section-symbol transform doesn't work and we need to generate the correct reloc type a different way. In this change WebAssemblyWasmObjectWriter::getRelocType takes the fixup section type into account to choose the correct reloc type. Fixes PR50408 Differential Revision: https://reviews.llvm.org/D103557
-
Mircea Trofin authored
It turns out that during training, the time required to parse the textual protobuf of a training log is about the same as the time it takes to compile the module generating that log. Using binary protobufs instead elides that cost almost completely. Differential Revision: https://reviews.llvm.org/D106157
-
Nick Fitzgerald authored
When two symbols import the same thing, only one import should be emitted in the Wasm file. Fixes https://bugs.llvm.org/show_bug.cgi?id=50938 Reviewed By: sbc100 Differential Revision: https://reviews.llvm.org/D105519
-
Leonard Grey authored
This belongs to fe08e9c4, I (thakis) forgot to `git add` it back then. Differential Revision: https://reviews.llvm.org/D105223
-
thomasraoux authored
This is the first step to support software pipeline for scf.for loops. This is only the transformation to create pipelined kernel and prologue/epilogue. The scheduling needs to be given by user as many different algorithm and heuristic could be applied. This currently doesn't handle loop arguments, this will be added in a follow up patch. Differential Revision: https://reviews.llvm.org/D105868
-
Nico Weber authored
Ports https://reviews.llvm.org/D95985 to the MachO port. Happens to fix PR51135; see that bug for details. Also makes lld's behavior match ld64 for the included test case. Differential Revision: https://reviews.llvm.org/D106293
-
owenca authored
Break an unwrapped line before the first parameter declaration in a K&R C function definition. This fixes PR51074. Differential Revision: https://reviews.llvm.org/D106112
-
Stuart Brady authored
Demangle 'Dh' as 'half' (as per GCC), and not 'decimal16' (which doesn't make sense, as there is no IEEE 754 decimal16 format). The Itanium C++ ABI specification describes 'Dh' as: > IEEE 754r half-precision floating point (16 bits) (https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling-builtin) Reviewed By: ldionne, jyknight Differential Revision: https://reviews.llvm.org/D103833
-
Teresa Johnson authored
As discussed on D105251, currently the compiler does not support multiple metadata attachments on instructions having the same identifier, whereas it does for global objects. Note this in the Language Reference manual for clarity. See D105251 for discussions of history behind this divergence, and the complexities and possible approaches of adding this support to instructions in the future. Differential Revision: https://reviews.llvm.org/D106304
-
Tony Tye authored
Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D106249
-
MaheshRavishankar authored
This makes it more explicit what the scope of this pass is. The name of this pass predates fusion on tensors using tile + fuse, and hence the confusion. Differential Revision: https://reviews.llvm.org/D106132
-
LLVM GN Syncbot authored
-
Petr Hosek authored
We need the compiler generated variable to override the weak symbol of the same name inside the profile runtime, but using LinkOnceODRLinkage results in weak symbol being emitted in which case the symbol selected by the linker is going to depend on the order of inputs which can be fragile. This change replaces the use of weak definition inside the runtime with a weak alias. We place the compiler generated symbol inside a COMDAT group so dead definition can be garbage collected by the linker. We also disable the use of runtime counter relocation on Darwin since Mach-O doesn't support weak external references, but Darwin already uses a different continous mode that relies on overmapping so runtime counter relocation isn't needed there. Differential Revision: https://reviews.llvm.org/D105176
-
Artem Belevich authored
Fixes https://bugs.llvm.org/show_bug.cgi?id=51099 Differential Revision: https://reviews.llvm.org/D106098
-
Simon Pilgrim authored
-
Nico Weber authored
No meaningful behavior change. Makes diffing `otool -l` output a bit easier. Differential Revision: https://reviews.llvm.org/D106219
-
Haowei Wu authored
This change fixes linking errors on some llvm builders.
-
Artem Belevich authored
The patch does not depend on the availability of the library functions for memcpy/memset as it operates on LLVM intrinsics. The optimizations are useful on the targets that have these functions disabled (e.g. NVPTX & AMDGPU). Differential Revision: https://reviews.llvm.org/D104801
-
Geoffrey Martin-Noble authored
Update Bazel config for https://github.com/llvm/llvm-project/commit/6103fdfab4 by deleting the llvm-elfabi target. Differential Revision: https://reviews.llvm.org/D106295
-
David Carlier authored
Reviewers: vitalybuka Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D106218
-
Louis Dionne authored
The new testing configuration did not turn off #pragma system_header, which means we were not seeing warnings in system headers. Differential Revision: https://reviews.llvm.org/D106187
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
Haowei Wu authored
This change merges llvm-elfabi and llvm-ifs tools. Differential Revision: https://reviews.llvm.org/D100139
-
Haowei Wu authored
This diff changes llvm-ifs to use unified IFS file format and perform other renaming changes in preparation for the merging between elfabi/ifs. Differential Revision: https://reviews.llvm.org/D99810
-
Haowei Wu authored
This change implements unified text stub format and command line interface proposed in the elfabi/ifs merge plan. Differential Revision: https://reviews.llvm.org/D99399
-