- Nov 24, 2021
-
-
Dmitry Vyukov authored
Test size larger than clear_shadow_mmap_threshold, which is handled differently. Depends on D114348. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D114366
-
David Green authored
-
mydeveloperday authored
The following 2 commits caused files in clang-format to no longer be clang-formatted. we would lose our "clean" status https://releases.llvm.org/13.0.0/tools/clang/docs/ClangFormattedStatus.html c2271926 - Make clang-format fuzz through Lexing with asserts enabled (https://github.com/llvm/llvm-project/commit/c2271926a4fc ) 84bf5e32 - Fix various problems found by fuzzing. (https://github.com/llvm/llvm-project/commit/84bf5e328664) Reviewed By: HazardyKnusperkeks, owenpan Differential Revision: https://reviews.llvm.org/D114430
-
Matthias Springer authored
This makes ComprehensiveBufferize entirely independent of the tensor dialect. Differential Revision: https://reviews.llvm.org/D114217
-
Florian Hahn authored
This patch adds parallel processing of chunks. When reducing very large inputs, e.g. functions with 500k basic blocks, processing chunks in parallel can significantly speed up the reduction. To allow modifying clones of the original module in parallel, each clone needs their own LLVMContext object. To achieve this, each job parses the input module with their own LLVMContext. In case a job successfully reduced the input, it serializes the result module as bitcode into a result array. To ensure parallel reduction produces the same results as serial reduction, only the first successfully reduced result is used, and results of other successful jobs are dropped. Processing resumes after the chunk that was successfully reduced. The number of threads to use can be configured using the -j option. It defaults to 1, which means serial processing. Reviewed By: Meinersbur Differential Revision: https://reviews.llvm.org/D113857
-
Pavel Labath authored
The read thread handling is completely dead code now that non-stop mode no longer exists.
-
Rosie Sumpter authored
This patch updates the cost model for ordered reductions so that a call to the llvm.fmuladd intrinsic is modelled as a normal fmul instruction plus the cost of an ordered fadd reduction. Differential Revision: https://reviews.llvm.org/D111630
-
Rosie Sumpter authored
-
Rosie Sumpter authored
In-loop vector reductions which use the llvm.fmuladd intrinsic involve the creation of two recipes; a VPReductionRecipe for the fadd and a VPInstruction for the fmul. If the call to llvm.fmuladd has fast-math flags these should be propagated through to the fmul instruction, so an interface setFastMathFlags has been added to the VPInstruction class to enable this. Differential Revision: https://reviews.llvm.org/D113125
-
Rosie Sumpter authored
Enables LoopVectorize to handle reduction patterns involving the llvm.fmuladd intrinsic. Differential Revision: https://reviews.llvm.org/D111555
-
Butygin authored
Differential Revision: https://reviews.llvm.org/D114291
-
Clement Courbet authored
`isConstRefReturningMethodCall` should be considering `CXXOperatorCallExpr` in addition to `CXXMemberCallExpr`. Clang considers these to be distinct (`CXXOperatorCallExpr` derives from `CallExpr`, not `CXXMemberCallExpr`), but we don't care in the context of this check. This is important because of `std::vector<Expensive>::operator[](size_t) const`. Differential Revision: https://reviews.llvm.org/D114249
-
Vitaly Buka authored
-
Abinav Puthan Purayil authored
The existing constrained shift PatFrags only dealt with masked shift from OpenCL front-ends. This change copies the X86DAGToDAGISel::isUnneededShiftMask() function to AMDGPU and uses it in the shift PatFrag predicates. Differential Revision: https://reviews.llvm.org/D113448
-
Igor Kudrin authored
The attribute 'r' allows (or disallows for the negative case) read-only sections, i.e. ones without the SHF_WRITE flag, to be assigned to the memory region. Before the patch, lld could put a section in the wrong region or fail with "error: no memory region specified for section". Differential Revision: https://reviews.llvm.org/D113771
-
Vitaly Buka authored
-
Bixia Zheng authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D114402
-
Weverything authored
This reverts commit ebd47b0f. This was causing unexpected behavior in programs.
-
Uday Bondhugula authored
Remove duplicate `Pass` suffix from view-op-graph pass class name. The extra suffix would lead to methods like registerViewOpGraphPassPass being generated. Differential Revision: https://reviews.llvm.org/D114459
-
wren romano authored
Minor code cleanup Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D114392
-
Mehdi Amini authored
Also replace ArrayAttr with IndexElementsAttr to model subscript dimensions. An array of attribute is a sparse inefficient storage, with an API that requires to unpack/repack integers at every call site. Instead we can store dense array of integer as IndexElementsAttr. Reviewed By: clementval, kiranchandramohan Differential Revision: https://reviews.llvm.org/D112899
-
Zequan Wu authored
I don't see a reason why not to. If we allows lookup functions by full names, I can change the test case in D113930 to use `lldb-test symbols --find=function --name=full::name --function-flags=full ...`, though the duplicate method decl prolem is still there for `lldb-test symbols --dump-ast`. That's a seprate bug, we can fix it later. Differential Revision: https://reviews.llvm.org/D114467
-
Vitaly Buka authored
Nothing uses more than 8bit now. So the rest of the headers can store other data. kStackTraceMax is 256 now, but all sanitizers by default store just 20-30 frames here.
-
Vitaly Buka authored
-
Stanislav Mekhanoshin authored
Also rename helper function accordingly. Differential Revision: https://reviews.llvm.org/D114289
-
Butygin authored
Differential Revision: https://reviews.llvm.org/D113780
-
Florian Mayer authored
Verified no diff exist between previous version, new version python 2, and python 3 for an example stack. Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D114404
-
Florian Mayer authored
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D113160
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Nemanja Ivanovic authored
Similarly to what GCC does, we should allow scalars with the "v" constraint rather than introducing unnecessary new constraints for scalars in Altivec registers. Differential revision: https://reviews.llvm.org/D113635
-
Matt Arsenault authored
AMDGPU is unusual in that the both stack is indexed in the same direction as stack growth (up). We therefore always need the emergency stack slots placed as low as possible to ensure they are in range of load/store instruction immediate offsets. The existing logic is mostly OK, but failed if we required stack realignment. I don't understand what the existing control isFPCloseToIncomingSP is supposed to mean, but can only be used to stop placing the scavenge slots earlier. Make this explicit so that targets can opt-in rather than opt-out only.
-
Florian Hahn authored
This allows easier re-use in earlier functions.
-
Walter Erquinigo authored
Issue in https://lab.llvm.org/buildbot/#/builders/96/builds/14682. Making the test deterministic.
-
Danil Stefaniuc authored
This diff is adding the capping_size determination for the list and forward list, to limit the number of children to be displayed. Also it modifies and unifies tests for libcxx and libstdcpp list data formatter. Reviewed By: wallace Differential Revision: https://reviews.llvm.org/D114433
-
Rahul Joshi authored
- Fixes a minor issue in https://reviews.llvm.org/D114338, which seems incorrectly added the llvm:AllTargetsAsmParsers dependency to Translation in bazel build files. Differential Revision: https://reviews.llvm.org/D114471
-
Danil Stefaniuc authored
This diff is avoiding the size limitation introduced by the capping size for the libcxx and libcpp bitset data formatters. Reviewed By: wallace Differential Revision: https://reviews.llvm.org/D114461
-
Walter Erquinigo authored
We need to add checks that ensure that some core variables are valid, so that we avoid printing out garbage data. The worst that could happen is that an non-initialized variable is being printed as something with 123123432 children instead of 0. Differential Revision: https://reviews.llvm.org/D114458
-