- Oct 01, 2022
-
-
Alexander Shaposhnikov authored
Skip variadic constructors in modernize-use-equals-default (such constructors cannot be explicitly defaulted). Test plan: ninja check-all Differential revision: https://reviews.llvm.org/D134929
-
Vincent Lee authored
Builds that error out on duplicate symbols can still succeed if the symbols will be dead stripped. Currently, this is the current behavior in ld64. https://github.com/apple-oss-distributions/ld64/blob/main/src/ld/Resolver.cpp#L2018. In order to provide an easier to path for adoption, introduce a new flag that will retain compatibility with ld64's behavior (similar to `--deduplicate-literals`). This is turned off by default since we do not encourage this behavior in the linker. Reviewed By: #lld-macho, thakis, int3 Differential Revision: https://reviews.llvm.org/D134794
-
Kazu Hirata authored
This patch fixes: mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp:1348:31: error: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int64_t' (aka 'long') [-Werror,-Wsign-compare] mlir/lib/ExecutionEngine/SparseTensor/File.cpp:110:3: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
-
Peiming Liu authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D134895
-
Peiming Liu authored
[mlir][sparse] Add new utility class to help generates loop structures over sparse tensors; Implement foreach operator. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D134782
-
LLVM GN Syncbot authored
-
Eric Wang authored
This relands commit 8f4f26ba, which was reverted in 91c96a80 because of Buildbot failures. The previous model test is not compatible with tflite. e.g. https://lab.llvm.org/buildbot/#/builders/6/builds/14041 Differential Revision: https://reviews.llvm.org/D133616
-
Sanjay Patel authored
I'm not sure how to test this because we seem to constant-fold all examples already. We changed this code to use the common isNonNegative() helper, so it should not be necessary to avoid a constant. This makes the code uniform for all transforms.
-
Sanjay Patel authored
D134975 would have added this fold, but we decided it's not worth doing without some evidence of benefit.
-
Jonathan Wakely authored
Implement LWG 3629, by making lookup for make_error_code and make_error_condition only consider names found by ADL. This is achieved by adding a block scope using-declaration for a function that will be found by unqualified lookup, preventing unqualified lookup from continuing to enclosing scopes (the class scope, then enclosing namespaces). The function named by the using declaration is not viable, so overload resolution must select a candidate found by ADL. This fixes https://github.com/llvm/llvm-project/issues/57614 Differential Revision: https://reviews.llvm.org/D134943
-
wren romano authored
Now that mlir_sparsetensor_utils is a public library, this differential renames the x-macros to help avoid namespace pollution issues. Reviewed By: aartbik, Peiming Differential Revision: https://reviews.llvm.org/D134988
-
Lei Zhang authored
In https://reviews.llvm.org/D133883, we changed the `FoldExtractSliceIntoTransferRead` pattern from requiring full identity map to minor identity map. This effectively allows rank reducing `vector.transfer_read` ops. However, the logic for checking `tensor.extract_slice` rank reducing still looks at the vector rank, which now could be smaller than the `tensor.extract_slice`'s output tensor rank. It ends up we can have incorrect index cacluation after folding due to this double rank reducing behavior. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D134984
-
Peter Collingbourne authored
-
Peter Collingbourne authored
-
Peter Collingbourne authored
-
Petr Hosek authored
When in-tree libcxx is selected as the sanitizer C++ ABI, use libcxx-abi-* targets rather than libcxxabi and libunwind directly. Differential Revision: https://reviews.llvm.org/D134855
-
wren romano authored
This differential corrects a few minor rebasing errors from the recent slew of differentials for factoring out the mlir_sparsetensor_utils library. Reviewed By: aartbik, Peiming Differential Revision: https://reviews.llvm.org/D134985
-
Nilanjana Basu authored
Reviewed By: fhahn Differential Revision: https://reviews.llvm.org/D134840
-
Jeffrey Byrnes authored
-
Sriraman Tallam authored
Differential Revision: https://reviews.llvm.org/D130563
-
Jeffrey Byrnes authored
-
Guozhi Wei authored
Add a statistic variable for rematerialization. Differential Revision: https://reviews.llvm.org/D134907
-
Peter Collingbourne authored
When returning from a function with both SCS and PAC-RET enabled, we need to authenticate the return address from the stack and then load from the SCS, but this was happening in the reverse order when RETA[AB] were being used. Fix it by disabling the use of RETA[AB] when SCS is enabled. Fixes pr58072. Differential Revision: https://reviews.llvm.org/D134931
-
Peter Collingbourne authored
bfloat16 is currently only supported by default on x86. Differential Revision: https://reviews.llvm.org/D134937
-
Peter Collingbourne authored
Differential Revision: https://reviews.llvm.org/D127556
-
Vitaly Buka authored
This checks are irrelevant with monorepo.
-
Vitaly Buka authored
-
Michael Maitland authored
This patch adds the div bang operator which performs division. Differential Revision: https://reviews.llvm.org/D134001
-
Florian Mayer authored
Reviewed By: #libunwind, MaskRay, mgorny Differential Revision: https://reviews.llvm.org/D134969
-
Louis Dionne authored
Now that all jobs have moved over to the new style of Lit configuration, we can remove all traces of the legacy testing configuration system. This includes: - Cache settings that are not honored or useful anymore - Several CMake options that were only useful in the context of the legacy Lit configuration system - A bunch of Python support code that is not used anymore - The legacy lit.cfg.in files themselves Differential Revision: https://reviews.llvm.org/D134650
-
Louis Dionne authored
Differential Revision: https://reviews.llvm.org/D134914
-
Florian Hahn authored
The CHECK lines in the test are too specific and cause mis-matches on some platforms. Reduce them to make them less fragile.
-
Florian Hahn authored
-
Valentin Clement authored
AffineMapAttr on fir.box type is not used. This patch remove it. It can be added back later when needed. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D134955
-
Arthur Eubanks authored
-
Xiang Li authored
1. Save typed pointer type for GlobalVariable/Function instead of the ObjectType. This will allow use GlobalVariable/Function as value. 2. Save target type for global ctors for Constant. 3. In DXILBitcodeWriter::getTypeID, check PointerMap first for Constant case. Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D133283
-
Roy Jacobson authored
Fixes a null dereference in some diagnostic issuing code. Closes https://github.com/llvm/llvm-project/issues/57370 Closes https://github.com/llvm/llvm-project/issues/58028 Reviewed By: shafik Differential Revision: https://reviews.llvm.org/D134885
-
wren romano authored
This way the predicates can be reused elsewhere, and can more easily be kept in sync with changes to the enum. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D134926
-
Arthur Eubanks authored
So we don't have to specify -enable-new-pm=0.
-
Arthur Eubanks authored
So we don't have to specify -enable-new-pm=0.
-