- Jul 16, 2022
-
-
Yuanfang Chen authored
Related test failure: https://lab.llvm.org/buildbot/#/builders/178/builds/2527/steps/13/logs/FAIL__lit___googletest-timeout_py
-
Julian Lettner authored
We introduced `SANITIZER_APPLE` here: https://reviews.llvm.org/D126263
-
Argyrios Kyrtzidis authored
[unittests/Tooling/DependencyScannerTest.cpp] Use `using namespace` instead of wrapping the `.cpp` file contents in namespaces, NFC This makes the file consistent with the coding style of the rest of LLVM.
-
Naje George authored
Reviewed By: ktras Differential Revision: https://reviews.llvm.org/D129515
-
Mahesh Ravishankar authored
This patch adds a pattern to decompose a `linalg.generic` operations that - has only parallel iterator types - has more than 2 statements (including the yield) into multiple `linalg.generic` operation such that each operation has a single statement and a yield. The pattern added here just splits the matching `linalg.generic` into two `linalg.generic`s, one containing the first statement, and the other containing the remaining. The same pattern can be applied repeatedly on the second op to ultimately fully decompose the generic op. Differential Revision: https://reviews.llvm.org/D129704
-
Jon Chesterfield authored
-
Yuanfang Chen authored
For sanitizer only failures, the tests all pass but still need to put the shard in failed test summary.
-
Rong Xu authored
This patch reports number of counts being dropped when a hash-mismatch happens. This information will be helpful to the users -- if the dropped counts are large, the user should redo the instrumentation build and recollect the profile. Differential Revision: https://reviews.llvm.org/D129001
-
Ashay Rane authored
The visitor functions for `Region` and `Block` types did not always check the value returned by recursive calls. This caused the top-level visitor invocation to return `WalkResult::advance()` even if one or more recursive invocations returned `WalkResult::interrupt()`. This patch fixes the problem by check if any recursive call is interrupted, and if so, return `WalkResult::interrupt()`. Reviewed By: dcaballe Differential Revision: https://reviews.llvm.org/D129718
-
Joseph Huber authored
The new driver generated offloadinga actions for each active toolchain. However, for CUDA and HIP it is possible for the toolchain to be active but one of the files is not a valid input. This can occur if the user compiles both a CUDA and C source file in the same compiler invocation. This patch adds some simple logic to quit if the input is not valid as well. Reviewed By: tra, MaskRay Differential Revision: https://reviews.llvm.org/D129885
-
Yuanfang Chen authored
Only report failure for tests that actually runs.
-
Leonard Grey authored
The reserve constructor was removed in 44f55509 but this one was missed. As a result, we attempt to iterate through 1024 threads each time, most of which are 0. Differential Revision: https://reviews.llvm.org/D129897
-
Fangrui Song authored
-
Joseph Huber authored
The device runtime uses the address space attribute to control the placement of important constants on the GPU. The changes made in D126061 caused these to start emitting errors as they were not applied to the type. This patch fixes the issues to make the warnings go away. Reviewed By: ye-luo Differential Revision: https://reviews.llvm.org/D129896
-
Rong Xu authored
Don't cross reference CSFDO profile and non-CSFDO profile when checking the function hash. Only return hash_mismatch when CS bits match, and return unknown_function otherwise. Differential Revision: https://reviews.llvm.org/D129000
-
Rong Xu authored
This patch improves FDO hash-mismatch handling: (1) filter out warnings to weak functions. Weak functions definition will be overridden by a strong definition by linker. The hash mismatch in profile use compilation is expected. Make the profile hash mismatch warning under the existing option (default true). (2) add an option to trace the hash of functions with the specific string. Note that an empty string parameter will trace all functions. Differential Revision: https://reviews.llvm.org/D129002
-
Jim Kitchen authored
A new sparse_tensor operation allows for custom reduction code to be injected during linalg.generic lowering for sparse tensors. An identity value is provided to indicate the starting value of the reduction. A single block region is required to contain the custom reduce computation. Reviewed by: aartbik Differential Revision: https://reviews.llvm.org/D128004
-
Philip Reames authored
Changes since initial commit: * Wrapping a pointer in an SCEV unknown hides the base, and SCEV is only able to compute a subtraction when the bases are known to be equal. This results in a SCEVCouldNotCompute flowing forward and triggering asserts. Test case added in d767b392. * isLoopInvariant returns true for instructions outside the loop, but not necessarily *above* the loop. Since this code is allowed to visit uses of an IV outside of a loop, we have to make sure the operands of the compare are both invariant and dominating the header. Test case added in 2aed3cdb. Original commit message follows... The ICmpZero matching is checking to see if the expression is loop invariant per SCEV and expandable. This allows expressions inside the loop which can be made loop invariant to be seamlessly expanded, but is overly conservative for expressions which already *are* loop invariant. As a simple justification for why this is correct, consider a loop invariant urem as RHS vs an alternate function with that same urem wrapped inside a helper call. Why would it be legal to match the later, but not the former? Differential Revision: https://reviews.llvm.org/D129793
-
Yuanfang Chen authored
In some situations, like running tests with sanitizers, all test passes but the shard could still fail due to memory issues. Relands 65769429
-
Yuanfang Chen authored
This reverts commit 65769429. This patch is incomplete.
-
Michał Górny authored
Enable stdio forwarding when nonstop mode is enabled, and disable it once it is disabled. This makes it possible to cleanly handle stdio forwarding while running multiple processes in non-stop mode. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D128932
-
Michał Górny authored
-
Mahesh Ravishankar authored
-
Mahesh Ravishankar authored
This is a NFC change to make it easier to update this canonicalization for more use cases. The refactoring makes things easier to understand/adapt. Differential Revision: https://reviews.llvm.org/D129829
-
Leonard Grey authored
-
Jonathon Penix authored
Evaluations for the Where and Forall constructs previously did not have their constructExit field fixed up. This could lead to falling through to subsequent case blocks in select case statements if either a Where or Forall construct was the final part of one case block. Setting the constructExit field results in the proper branching behavior. Fixes issue: https://github.com/llvm/llvm-project/issues/56500 Differential Revision: https://reviews.llvm.org/D129879 Change-Id: Ia868df12084520a935f087524e118bcdf47f6d7a
-
Yuanfang Chen authored
In some situations, like running tests with sanitizers, all test passes but the shard could still fail due to memory issues.
-
Jez Ng authored
We were re-defining the various numeric variables when we actually intended to check already-defined variables against the value on the current CHECK line. Reviewed By: #lld-macho, thakis Differential Revision: https://reviews.llvm.org/D129831
-
Philip Reames authored
-
Rajas Vanjape authored
This diff adds an integration test which does element wise multiplication for two sparse 3-d tensors of size 3x3x5 Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D129638
-
Haojian Wu authored
-
Zequan Wu authored
When profdata is missing on report and export commands, the error message is indistinguishable from missing instrumented binary file. This adds the error message for report and export commands. Differential Revision: https://reviews.llvm.org/D129791
-
Warren Ristow authored
Compiling with '-ffast-math' tuns on all the FastMathFlags (FMF), as expected, and that enables FP reassociation. Only the two FMF flags 'reassoc' and 'nsz' are technically required to perform reassociation, but disabling other unrelated FMF bits is needlessly suppressing the optimization. This patch fixes that needless suppression, and makes appropriate adjustments to test-cases, fixing some outstanding TODOs in the process. Fixes: #56483 Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D129523
-
Philip Reames authored
-
Michał Górny authored
Stop all processes and clear notification queues when disabling non-stop mode. Ensure that no stop notifications are sent for processes stopped due to the mode switch. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D128893
-
Michał Górny authored
-
Michael Jones authored
This adds functionality for rounding towards negative inf, positive inf, and zero to the float hex conversion (%a). Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D129702
-
Vang Thao authored
Add analyis remarks to output kernel name, register usage, occupancy, scratch usage, spills, and LDS information. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D123878
-
Lei Zhang authored
In `linalg::tileConsumerAndFuseProducers`, there are two levels of tiling and fusion; we partition the tile sizes and only use one half for each of them. The partition is using the first non-parallel dimension *after* interchange as the boundary. However, concrete tiling happens *together with* loop interchange, so we still need to provide the partial tile sizes *before* the interchange. Otherwise, there will be inconsistency, which is what this patch is to fix. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D129804
-
Philip Reames authored
This reverts commit 9153515a. Builtbot crash was reported in the commit thread, reverting while investigating.
-