- Sep 03, 2022
-
-
Richard Smith authored
-
River Riddle authored
This commit adds support for interacting with a (valid) bytecode file in the same way as .mlir. This allows editing, using all of the traditional LSP features, etc. but still using bytecode as the on-disk serialization format. Loading a bytecode file this way will fail if the bytecode is invalid, and saving will fail if the edited .mlir is invalid. Differential Revision: https://reviews.llvm.org/D132970
-
Adrian Prantl authored
-
Sheng authored
-
Andrew Browne authored
Observed a test failure where "Returned length: 3054". Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D133227
-
Peiming Liu authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D133231
-
Mehdi Amini authored
This reverts commit 57119578. A circular dependency is introduced here from Dialect/Utils/ to the ViewLikeInterface, but it already depends on Dialect/Utils. Also this introduces a dependency from lib/Dialect/Tensor to Linalg, which isn't obviously correct from a layering point of view.
-
Volodymyr Sapsai authored
[ODRHash diagnostics] Transform method `ASTReader::diagnoseOdrViolations` into a class `ODRDiagsEmitter`. NFC. Preparing to use diagnostics about ODR hash mismatches outside of ASTReader. Differential Revision: https://reviews.llvm.org/D128490
-
Richard Smith authored
This reverts commit fec01ee3. According to asan, this patch introduces a heap use after free.
-
Francis Visoiu Mistrih authored
We should be able to use this option even if LLVM_ENABLE_DUMP is not on. (should fix the bots too)
-
Richard Smith authored
-
Jorge Gorbe Moya authored
TypeCategoryImpl has its own implementation of these, so it makes no sense to have the same logic inlined in SBTypeCategory. There are other methods in SBTypeCategory that are directly implemented there, instead of delegating to TypeCategoryImpl (which IMO kinda defeats the point of having an "opaque" member pointer in the SB type), but they don't have equivalent implementations in TypeCategoryImpl, so this patch only picks the low-hanging fruit for now.
-
Francis Visoiu Mistrih authored
If one of the operands is a transposed splat, the transpose can be removed. This is useful to simplify when transposes are distributed to operands of a matmul: * k^T -> k * (A * k)^t -> A^t * k Differential Revision: https://reviews.llvm.org/D130177
-
Alexander Shaposhnikov authored
Skip copy assignment operators with nonstandard return types since they cannot be defaulted. Test plan: ninja check-clang-tools Differential revision: https://reviews.llvm.org/D133006
-
isuckatcs authored
This patch dumps every state trait in the egraph. Also the empty state traits are no longer dumped, instead they are treated as null by the egraph rewriter script, which solves reverse compatibility issues. Differential Revision: https://reviews.llvm.org/D131187
-
Alexander Shaposhnikov authored
Restrict use-equals-default to c++11-or-later. Test plan: ninja check-all Differential revision: https://reviews.llvm.org/D132998
-
Eli Friedman authored
If we don't have NEON, we use the generic fallback, which takes 12 instructions. Make sure the costs reflect that. (On a related note, we could optimize the generic fallback a bit. It currently uses sequences like lsr+and+add; if we use and+lsr+add instead, we can fold the lsr into the add.) Differential Revision: https://reviews.llvm.org/D133154
-
jackh authored
Fixes https://github.com/llvm/llvm-project/issues/57418 The token `*` below should be annotated as `UnaryOperator`. ``` delete[] *ptr; ``` Reviewed By: owenpan, MyDeveloperDay Differential Revision: https://reviews.llvm.org/D132911
-
Lei Zhang authored
Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D133183
-
Mitch Phillips authored
This reverts commit 0816b629. Reason: Broke the sanitizer buildbots. More information available in the original phabricator review: https://reviews.llvm.org/D132726
-
Manish Gupta authored
`cp_async_zfill` is currently not present in the nvvm backend, this patch adds `cp_async_zfill` support by adding inline asm when lowering from `nvgpu` to `nvvm`. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D132269
-
Lei Zhang authored
Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D133168
-
Lei Zhang authored
Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D133167
-
Alex Brachet authored
-
Lei Zhang authored
Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D133054
-
Lei Zhang authored
Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D133041
-
Lei Zhang authored
Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D133234
-
Valentin Clement authored
-
Cole authored
removes LLVM_PREFER_STATIC_ZSTD in favor of using a LLVM_USE_STATIC_ZSTD Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D133222
-
Vitaly Buka authored
-
Chris Bieneman authored
In HLSL buffer types support array subscripting syntax for loads and stores. This change fleshes out the subscript operators to become array accesses on the underlying handle pointer. This will allow LLVM optimization passes to optimize resource accesses the same way any other memory access would be optimized. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D131268
-
LLVM GN Syncbot authored
-
Nikolas Klauser authored
This doesn't affect code-gen Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D132951
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: libcxx-commits, mgorny Differential Revision: https://reviews.llvm.org/D132790
-
Fangrui Song authored
-
Nikolas Klauser authored
For some reason `operator""s(const char8_t*, size_t)` was marked `noexcept`. Remove it and add regression tests. Reviewed By: ldionne, huixie90, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D132340
-
Fangrui Song authored
-
Nikolas Klauser authored
[libc++] Make the naming of private member variables consistent and enforce it through readability-identifier-naming Reviewed By: ldionne, #libc Spies: aheejin, sstefan1, libcxx-commits Differential Revision: https://reviews.llvm.org/D129386
-
Nikolas Klauser authored
Adding `[[nodiscard]]` to functions is a conforming extension and done extensively in the MSVC STL. Reviewed By: ldionne, EricWF, #libc Spies: #libc_vendors, cjdb, mgrang, jloser, libcxx-commits Differential Revision: https://reviews.llvm.org/D128267
-
Jeff Niu authored
Every dialect was dependent on `mlir-headers`, which was causing the build of any single MLIR dialect to pull in a bunch of extra dependencies that aren't needed. Now, MLIR dialects will need to explicitly depend on `MLIR*IncGen` targets to pull in any needed headers. This does not impact the actual `mlir-header` target. Consider the "simple" Arithmetic dialect. Before: ``` % ninja MLIRArithmeticDialect [151/812] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/JSONBackend.cpp.o ``` After: ``` % ninja MLIRArithmeticDialect [207/374] Building CXX object tools/mlir/lib/TableGen/CMakeFiles/MLIRTableGen.dir/GenInfo.cpp.o ``` (Both clean builds) Reviewed By: rriddle, jpienaar Differential Revision: https://reviews.llvm.org/D133132
-