- Jun 15, 2020
-
-
Hanhan Wang authored
Differential Revision: https://reviews.llvm.org/D81858
-
Amara Emerson authored
-
Louis Dionne authored
The commit was reverted in 43c4afb5 because it broke the Windows to Linux cross-compilation build bots. The issue turned out to be that the bots were setting the LIBCXX_EXECUTOR incorrectly. This has been fixed now and verified with the bot owners. Note that this is only a partial re-application of the commit, since non-problematic parts of the commits have already been re-applied earlier.
-
Mircea Trofin authored
The initial intent was to organize ML stuff in its own directory, but it turns out that conflicts with llvm component layering policies: it is not a component, because subsequent changes want to rely on other analyses, which would create a cycle; and we don't have a reliable, cross-platform mechanism to compile files in a subdirectory, and fit in the existing LLVM build structure. This change moves the files into Analysis, and subsequent changes will leverage conditional compilation for those that have optional dependencies.
-
aartbik authored
Summary: Previous submit of new tests accidentally made this ON. The tests should be opt-in. To build with MLIR integration tests enabled, pass the following cmake .... \ -DMLIR_INCLUDE_INTEGRATION_TESTS=ON \ .... Reviewers: mehdi_amini Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, msifontes Tags: #mlir Differential Revision: https://reviews.llvm.org/D81878
-
Nick Desaulniers authored
Summary: L is meant to support the second word used by 32b calling conventions for 64b arguments. This is required for build 32b PowerPC Linux kernels after upstream commit 334710b1496a ("powerpc/uaccess: Implement unsafe_put_user() using 'asm goto'") Thanks for the report from @nathanchance, and reference to GCC's implementation from @segher. Fixes: pr/46186 Fixes: https://github.com/ClangBuiltLinux/linux/issues/1044 Reviewers: echristo, hfinkel, MaskRay Reviewed By: MaskRay Subscribers: MaskRay, wuzish, nemanjai, hiraditya, kbarton, steven.zhang, llvm-commits, segher, nathanchance, srhines Tags: #llvm Differential Revision: https://reviews.llvm.org/D81767
-
Davide Italiano authored
The promotion machinery in CGP moves instructions retaining debug locations. When the transformation is local, this is mostly correct, but when instructions are moved cross-BBs, this is not always true and causes jumpiness in line tables. This is the first of a series of commits. sext(s) and zext(s) need to be treated similarly. Differential Revision: https://reviews.llvm.org/D81879
-
Jan Korous authored
-
Florian Hahn authored
As suggested in D81472, the load/store intrinsics' pointer arguments can be marked as nocapture and all matrix intrinsics as nosync. This also re-flows the intrinsic definitions, to make them a little more concise.
-
LLVM GN Syncbot authored
-
Sergej Jaskiewicz authored
The issue is that Windows doesn't support shebangs. This caused issues with libc++ tests.
-
Jan Korous authored
Differential Revision: https://reviews.llvm.org/D77179
-
Christopher Tetreault authored
Summary: Bail out in cstfp_pred_ty before calling getNumElements and walking the vector if the vector is scalable. Reviewers: efriedma, lebedev.ri, fhahn, sdesmalen, fpetrogalli Reviewed By: sdesmalen Subscribers: tschuett, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81617
-
Mehdi Amini authored
This is intended to avoid programming mistake where a temporary OpOperand is created, for example: for (OpOperand user : result.getUsers()) { It can be confusing for the user, in particular since in MLIR most classes are intended to be copied around by value while they have reference semantics. Differential Revision: https://reviews.llvm.org/D81815
-
Jessica Paquette authored
Apparently an x86 bot doesn't like the disabled rule in this test. http://lab.llvm.org:8011/builders/fuchsia-x86_64-linux/builds/6569 Remove disabled rule and update the test to try and pacify the bot.
-
Artem Belevich authored
It's useful for using clang from tools that may need need to provide SDK files from non-standard locations. Clang CLI only provides a way to specify VFS for include files, so there's no good way to test this yet. Differential Revision: https://reviews.llvm.org/D81771
-
Greg McGary authored
This is a complete Options.td compiled from ld(1) dated 2018-03-07 and cross checked with ld64 source code version 512.4 dated 2018-03-18. This is the first in a series of diffs for argument handling. Follow-ups will include switch cases for all the new instances of `OPT_foo`, and parsing/validation of arguments attached to options, e.g., more code akin to `OPT_platform_version` and associated `parsePlatformVersion()`. Reviewed By: smeenai Differential Revision: https://reviews.llvm.org/D80582
-
Nikita Popov authored
This wraps the uint8_t[12] type used in two places, because I plan to introduce a third use of the same pattern.
-
Shoaib Meenai authored
The case the calculation works for is when r_length = 2.
-
Arnold Schwaighofer authored
Summary: If a record has a mix of relative pointers and other fields they wouldn't necessarily be the same. Fallout from D77592. rdar://64309883 Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D81857
-
Jessica Paquette authored
Add selection support for ext via a new opcode, G_EXT and a post-legalizer combine which matches it. Add an `applyEXT` function, because the AArch64ext patterns require a register for the immediate. So, we have to create a G_CONSTANT to get these without writing new patterns or modifying the existing ones. Tests are the same as arm64-ext.ll. Also prevent ext from firing on the zip test. It has higher priority, so we don't want it potentially getting in the way of mask tests. Also fix up the shuffle-splat test, because ext is now selected there. The test was incorrectly regbank selected before, which could cause a verifier failure when you emit copies. Differential Revision: https://reviews.llvm.org/D81436
-
Mircea Trofin authored
This reverts commit 695c7d63. Breaks windows (e.g. http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/16497) Likely to cause problems with XCode.
-
Davide Italiano authored
Pointed out by dblaikie.
-
Mircea Trofin authored
Summary: Currently, add_llvm_library would create an OBJECT library alongside of a STATIC / SHARED library, but losing the link interface (its elements would become dependencies instead). To support scenarios where linking an object library also brings in its usage requirements, this patch adds support for 'stand-alone' OBJECT libraries - i.e. without an accompanying SHARED/STATIC library, and maintaining the link interface defined by the user. The support is via a new option, OBJECT_ONLY, to avoid breaking changes - since just specifying "OBJECT" would currently imply also STATIC or SHARED, depending on BUILD_SHARED_LIBS. This is useful for cases where, for example, we want to build a part of a component separately. Using a STATIC target would incur the risk that symbols not referenced in the consumer would be dropped (which may be undesirable). The current application is the ML part of Analysis. It should be part of the Analysis component, so it may reference other analyses; and (in upcoming changes) it has dependencies on optional libraries. Reviewers: karies, davidxl Subscribers: mgorny, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81447
-
Matt Arsenault authored
This is a somewhat artifical limit, so avoid repeating it many places in case it changes.
-
Louis Dionne authored
This is useful for checking runtime properties of the target system. This is a partial re-application of 3ea9450b. This part was tested to work on a Windows host with a SSH executor.
-
Matt Arsenault authored
-
Mehdi Amini authored
This reverts commit 32c757e4. Broke the build bot: ******************** TEST 'MLIR :: Examples/standalone/test.toy' FAILED ******************** [...] /tmp/ci-KIMiRFcVZt/lib/libMLIRLinalgToLLVM.a(LinalgToLLVM.cpp.o): In function `(anonymous namespace)::ConvertLinalgToLLVMPass::runOnOperation()': LinalgToLLVM.cpp:(.text._ZN12_GLOBAL__N_123ConvertLinalgToLLVMPass14runOnOperationEv+0x100): undefined reference to `mlir::populateExpandTanhPattern(mlir::OwningRewritePatternList&, mlir::MLIRContext*)'
-
Rahul Joshi authored
Change isa<> to a variadic function template, so that it can be used to test against one of multiple types as follows: isa<Type0, Type1, Type2>(Val) Differential Revision: https://reviews.llvm.org/D81045
-
Julian Lettner authored
Pass in all discovered tests to report generators. The XunitReport generator now creates testcase items for unexecuted tests and documents why they have been skipped. This makes it easier to compare test runs with different filters or configurations, or across platforms. I don't know who is using the JsonReport generator and what the expectations there are (it doesn't have tests), so decided to preserve the old behavior by filtering out the unexecuted tests. Reviewed By: jdenny Differential Revision: https://reviews.llvm.org/D81316
-
Lang Hames authored
Commit 498dd745 introduced a dependence on Core. This patch updates LLVMbuild.txt to reflect this.
-
Matt Arsenault authored
-
aartbik authored
Summary: This CL introduces an integration test directory for MLIR in general, with vector dialect integration tests in particular as a first working suite. To run all the integration tests (and currently just the vector suite): $ cmake --build . --target check-mlir-integration [0/1] Running the MLIR integration tests Testing Time: 0.24s Passed: 22 The general call is to contribute to this integration test directory with more tests and other suites, running end-to-end examples that may be too heavy for the regular test directory, but should be tested occasionally to verify the health of MLIR. Background discussion at: https://llvm.discourse.group/t/vectorops-rfc-add-suite-of-integration-tests-for-vector-dialect-operations/1213/ Reviewers: nicolasvasilache, reidtatge, andydavis1, rriddle, ftynse, mehdi_amini, jpienaar, stephenneuendorffer Reviewed By: nicolasvasilache, stephenneuendorffer Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, msifontes Tags: #mlir Differential Revision: https://reviews.llvm.org/D81626
-
Davide Italiano authored
-
Craig Topper authored
Fix the copy/paste mistake that caused it to fail previously
-
Florian Hahn authored
Port partial constant store merging logic to MemorySSA backed DSE. The heavy lifting is done by the existing helper function. It is used in context where we already ensured that the later instruction can eliminate the earlier one, if it is a complete overwrite.
-
Hanhan Wang authored
Summary: Add a pattern for expanding tanh op into exp form. A `tanh` is expanded into: 1) 1-exp^{-2x} / 1+exp^{-2x}, if x => 0 2) exp^{2x}-1 / exp^{2x}+1 , if x < 0. Differential Revision: https://reviews.llvm.org/D81618
-
Lang Hames authored
If a symbol name begins with the linker private global prefix (as described by the DataLayout) then it should be treated as non-exported, regardless of its LLVM IR visibility value.
-
Louis Dionne authored
This is necessary for standalone builds where the libc++ in use has a custom configuration set up inside __config_site -- one needs to build libc++abi against the installed headers of libc++ (which are properly configured) instead of the ones inside libcxx/include. See https://reviews.llvm.org/rGe619e9d#927848 for details.
-
Nico Weber authored
-