- May 27, 2022
-
-
River Riddle authored
This provides a format for externally specifying the include directories for a source file. The format of the tablegen database is exactly the same as that for PDLL, namely it includes the absolute source file name and the set of include directories. The database format is shared to simplify the infra, and also because the format itself is general enough to share. Even if we desire to expand in the future to contain the actual compilation command, nothing there is specific enough that we would need two different formats. As with PDLL, support for generating the database is added to our mlir_tablegen cmake command. Differential Revision: https://reviews.llvm.org/D125441
-
Florian Hahn authored
If the fma operates on a legal vector type, the indexed variants can be used, if the second operand is a splat of a valid index. Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D126234
-
Andrew Ng authored
Differential Revision: https://reviews.llvm.org/D126458
-
Balazs Benics authored
This reverts commit 3988bd13. Did not build on this bot: https://lab.llvm.org/buildbot#builders/215/builds/6372 /usr/include/c++/9/bits/predefined_ops.h:177:11: error: no match for call to ‘(llvm::less_first) (std::pair<long unsigned int, llvm::bolt::BinaryBasicBlock*>&, const std::pair<long unsigned int, std::nullptr_t>&)’ 177 | { return bool(_M_comp(*__it, __val)); }
-
Balazs Benics authored
One could reuse this functor instead of rolling out your own version. There were a couple other cases where the code was similar, but not quite the same, such as it might have an assertion in the lambda or other constructs. Thus, I've not touched any of those, as it might change the behavior in some way. As per https://discourse.llvm.org/t/submitting-simple-nfc-patches/62640/3?u=steakhal Chris Lattner > LLVM intentionally has a “yes, you can apply common sense judgement to > things” policy when it comes to code review. If you are doing mechanical > patches (e.g. adopting less_first) that apply to the entire monorepo, > then you don’t need everyone in the monorepo to sign off on it. Having > some +1 validation from someone is useful, but you don’t need everyone > whose code you touch to weigh in. Differential Revision: https://reviews.llvm.org/D126068
-
Balazs Benics authored
This patch annotates the most important analyzer function APIs. Also adds a couple of assertions for uncovering any potential issues earlier in the constructor; in those cases, the member functions were already dereferencing the members unconditionally anyway. Measurements showed no performance impact, nor crashes. Reviewed By: martong Differential Revision: https://reviews.llvm.org/D126198
-
Gabor Marton authored
fixes #115
-
Balazs Benics authored
Reviewed By: martong, xazax.hun Differential Revision: https://reviews.llvm.org/D125708
-
Balazs Benics authored
Reviewed By: martong, xazax.hun Differential Revision: https://reviews.llvm.org/D125707
-
Balazs Benics authored
- Rename `isKind()` to `classof()` to follow the llvm style RTTI. - Take SVal by-value instead of reference. - Mark `classof` public. Reviewed By: martong, xazax.hun Differential Revision: https://reviews.llvm.org/D125706
-
Nikolas Klauser authored
Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D126477
-
Luo, Yuanke authored
There is intrinsic `@llvm.x86.ldtilecfg` which is lowered to LDTILECFG. This intrinsic is open for user to configure tile registers by themselves. There is a chance that `@llvm.x86.ldtilecfg` would be mixed with the new AMX intrinsics which depend on compiler to configure tile registers. Separate pusedo instruction PLDTILECFGV would avoid unexpected behavious when `@llvm.x86.ldtilecfg` is mixed with new AMX intrinsics. Though user should not mix the two programming model, compiler should avoid crash or UB when they are mixed. Differential Revision: https://reviews.llvm.org/D126519
-
LLVM GN Syncbot authored
-
Nikolas Klauser authored
Reviewed By: Mordante, var-const, #libc Spies: libcxx-commits, mgorny Differential Revision: https://reviews.llvm.org/D125608
-
Balazs Benics authored
Fixes #55720
-
Balazs Benics authored
Reviewed By: martong Differential Revision: https://reviews.llvm.org/D126123
-
Balazs Benics authored
Reviewed By: martong Differential Revision: https://reviews.llvm.org/D126130
-
Balazs Benics authored
Reviewed By: martong Differential Revision: https://reviews.llvm.org/D126129
-
Balazs Benics authored
This patch also refactored some of the enclosing parts. Reviewed By: martong Differential Revision: https://reviews.llvm.org/D126128
-
Balazs Benics authored
Reviewed By: martong Differential Revision: https://reviews.llvm.org/D126125
-
Balazs Benics authored
Reviewed By: martong Differential Revision: https://reviews.llvm.org/D126124
-
River Riddle authored
This essentially just piggy backs off of the existing mlir support. Differential Revision: https://reviews.llvm.org/D125734
-
Serge Pavlov authored
Add a generic opcode to represent `llvm.is_fpclass` intrinsic. Differential Revision: https://reviews.llvm.org/D121454
-
Alexander Batashev authored
This patch adds support for Calling Convention attribute in LLVM dialect, including enums, custom syntax and import from LLVM IR. Additionally fix import of dso_local attribute. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D126161
-
Liqin.Weng authored
``` void vector_reverse_i64(int *A, int *B, int n) { #pragma clang loop vectorize_width(4, scalable) for (int i = n-1; i >= 0; i--) A[i] = B[i] + 1; } ``` When option: scalable-vectorization is on (or set #pragma clang loop vectorize_width(elements, scalable)), Reverse Iterators can't loop vectorization as <vscale x elements x elementType> Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D125866 -
Pavel Samolysov authored
The CMake variable LIBUNWIND_SUPPORTS_NODEFAULTLIBS_FLAG has been renamed into C_SUPPORTS_NODEFAULTLIBS_FLAG because the last one is used in the confix-ix.cmake file while the variable with the original name is not used at al. Differential Revision: https://reviews.llvm.org/D126466
-
Piggy NL authored
Summary: The size of long double in RISCV (both RV32 and RV64) is 16 bytes, thus the mangled_size shouble be 32. This patch will fix test case "_ZN5test01hIfEEvRAcvjplstT_Le4001a000000000000000E_c" in test_demangle.pass.cpp, which is expected to be invalid but demangler returned "void test0::h<float>(char (&) [(unsigned int)((sizeof (float)) + (0x0.000000004001ap-16382L))])" in RISCV environment without this patch. Reviewed By: urnathan Differential Revision: https://reviews.llvm.org/D126480
-
Ping Deng authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D126516
-
Siva Chandra Reddy authored
They are added as entrypoint object targets. The header-gen infrastructure has been extended to enable handling standard required global objects. The libc-api-test has also been extended to verify the global object declarations. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D126329
-
LLVM GN Syncbot authored
-
Rahman Lavaee authored
This relands commit 4d8d2580. The major change here is using 'addUsedIfAvailable<BasicBlockSectionsProfileReader>()` to make sure we don't change the pipeline tests. Differential Revision: https://reviews.llvm.org/D126518
-
Chenbing Zheng authored
-
Luo, Yuanke authored
-
Hanhan Wang authored
Reviewed By: ThomasRaoux, dcaballe Differential Revision: https://reviews.llvm.org/D126454
-
Enna1 authored
This patch adds !nosanitize metadata to FixedMetadataKinds.def, !nosanitize indicates that LLVM should not insert any sanitizer instrumentation. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D126294
-
Rahman Lavaee authored
This reverts commit 4d8d2580.
-
Fangrui Song authored
-
wren romano authored
This is a followup to D126105 to move functions in SparseTensorUtils.cpp to match their locations in SparseTensorUtils.h Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D126106
-
wren romano authored
This change makes the public API of SparseTensorUtils.cpp explicit, whereas before the publicity of these functions was only implicit. Implicit publicity is sufficient for mlir-opt to generate calls to these functions, but it's not enough to enable C/C++ code to call them directly in the usual way (i.e., without going through codegen). Thus, leaving the publicity implicit prevents development of other tools (e.g., microbenchmarks). In addition this change also marks the functions MLIR_CRUNNERUTILS_EXPORT, which is required by the JIT under certain configurations (albeit not for anything in our test suite). Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D126105
-
Argyrios Kyrtzidis authored
This should fix the `clang-ppc64-aix` builder.
-