- Sep 09, 2023
-
-
Fabian Mora authored
Migrate tests referencing `gpu-to-hsaco` to the new compilation workflow using TargetAttrs.
-
Ellis Hoag authored
Apparently we can use "." to end a list and start a new paragraph: https://www.doxygen.nl/manual/lists.html
-
Tyler Lanphear authored
Change `!isNonZero()` to `isZero()` for a minor readability improvement.
-
Vitaly Buka authored
This intermediate result in moving internal symbolizer build from sh script to CMake rules. The flag is supposed to be used with: -DLLVM_ENABLE_PROJECTS="clang;lld;compiler-rt" -DLLVM_ENABLE_RUNTIMES="libunwind;libcxx;libcxxabi" -Sllvm-project/llvm After converting sh script into cmake, we may add support for other build modes. For https://github.com/llvm/llvm-project/issues/30098 Reviewed By: kstoimenov, MaskRay Differential Revision: https://reviews.llvm.org/D157947
-
Jan Svoboda authored
-
Jan Svoboda authored
There is a long-standing FIXME in `HeaderSearch.cpp` to use the path separator preferred by the platform instead of forward slash. There was an attempt to fix that (1cf6c28a) which got reverted (cf385dc8). I couldn't find an explanation, but my guess is that some tests assuming forward slash started failing. This commit fixes tests with that assumption. This is intended to be NFC, but there are two exceptions to that: * Some diagnostic messages might now contain backslash instead of forward slash. * Arguments to the "-remap-file" option that use forward slash might stop kicking in. Separators between potential includer path and header name need to be replaced by backslash in that case.
-
Mehdi Amini authored
Review rounds can add more commits, this addresses a post-merge comment.
-
Shubham Sandeep Rastogi authored
The patch in https://reviews.llvm.org/D151465 broke greendragon, because it is hardcoding the use of libstdc++ which is not available on darwin. XFAILing these tests till they can be fixed.
-
spupyrev authored
Two (minor) improvements for stale matching: - always match entry blocks to each other, even if there is a hash mismatch; - ignore nops in (loose) hash computation. I record a small improvement in inference quality on my benchmarks. Tests are not affected Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D159488
-
Tom Stellard authored
-
Markus Böck authored
The current printer of `StringRefParameter` simply prints out the content of the string as is without escaping it any way. This leads to it generating invalid syntax, causing parser errors when read in again. This PR fixes that by adding `printString` to `AsmPrinter`, allowing one to print a string that can be parsed with `parseString`, using the same escaping syntax as `StringAttr`.
-
Owen Pan authored
When applying format changes to staged files, git-clang-format erroneously checks out all files in the index and thus may overwrite unstaged changes. Fixes #65643.
-
Vitaly Buka authored
Reland edb211cb and 5d7b75e2 without stats broken on OSX.
-
Zahira Ammarguellat authored
https://lab.llvm.org/buildbot/#/builders/38/builds/14427. Differential Revision: https://reviews.llvm.org/D159486
-
Dmitri Gribenko authored
-
bzEq authored
-
Valentin Clement (バレンタイン クレメン) authored
OpenACC 3.3 - 2.10 The cache directive may appear at the top of (inside of) a loop. This patch adds a semantic check to ensure the cache directive is inside a loop.
-
Jon Phillips authored
Avoid unnecessarily aggressive line-breaking when using "LambdaBodyIndentation: OuterScope" with argument bin-packing. Differential Revision: https://reviews.llvm.org/D148131
-
Fabian Mora authored
This patch employs the updated promise mechanism to enforce Target Attribute IR constraints. Due to this patch, TargetAttributes implementations no longer have to be registered before executing translation to LLVM IR in cases where they are not needed, like when translating `gpu.binary` operations.
-
Bjorn Pettersson authored
Make sure the TestCount const definition is guarded the same way as the use of the constant. This is an attempt to fix buildbot failures related to -Wunused-const-variable.
-
Thomas authored
recommit https://github.com/llvm/llvm-project/pull/65432 with minor bug fix for bitcasts
-
Alexey Bataev authored
If the scalar does not need to be scheduled and it was vectorized already in one of the vector nodes, we still can try to vectorize it in another node. Just does not need account its cost in the scalar total cost, as it will be handled in the main vectorized node. Differential Revision: https://reviews.llvm.org/D159205
-
Philip Reames authored
This covers the bug identified in review of pr 65777.
-
Jakub Kuderski authored
`concept` is a c++20 keyword and makes some buildbots fail: https://lab.llvm.org/buildbot/#/builders/160/builds/24345
-
Siva Chandra authored
-
jwanggit86 authored
For the AMD GFX90A GPU, the SCC instruction modifier is allowed for certain classes of instructions. However, the current assembler generates an error message, "scc is not supported on this GPU", regardless of the instruciton. This fix modifies the message as well as the logic for generating the message. Related tests are moved from gfx90a_err.s to gfx90a_asm_features.s. Co-authored-by:Jun Wang <jun.wang7@amd.com>
-
Shilei Tian authored
This reverts commit c5525a6e. AMD BB is not happy again.
-
Mehdi Amini authored
Aligning the section about pull-request with the `gh` tools with the section using the web UI (#65795) This is fairly minor, but start addressing the post-review comments
-
Shilei Tian authored
This reverts commit e592c2dc that reverts e91e3cf0.
-
Anton Korobeynikov authored
-
Shilei Tian authored
`AAAddressSpace` currently only works for `LoadInst` and `StoreInst` currently. For `StoreInst`, the corresponding use can be the pointer operand, or value operand, or both. When it is used as value operand, it can prevent `AMDGPUPromoteAlloca` from optimization in certain cases. This patch changes the manifest method such that only pointer operand will be rewritten.
-
Joseph Huber authored
Summary: The GPU uses separate implementations to perform file IO. This is all done through the RPC interface and we kept it minimal such that we could treat a `stdin`, `stdout`, or `stderr` handle from the CPU correctly on the GPU. The RPC implementation uses different opcodes for whether or not we are using one of the standard streams. This is so we do not need to initialize anything to access the CPU's standard stream, because the server knows that it should print to `stdout` if it gets the `STDOUT` variant of the opcode. It also saves us an RPC call, which are expensive relatively speaking. This patch simply cleans up this interface to make them all use a common function. This is done in preparation to implement some more file IO functions like getc or putc.
-
Johannes Doerfert authored
Through the new `Attributor::checkForAllCallees` we can look through indirect calls and visit all potential callees if they are known. Most AAs will do that implicitly now via `AACalleeToCallSite`, thus, most AAs are able to deal with missing callees for call site IR positions. Differential Revision: https://reviews.llvm.org/D112290
-
Zero Omega authored
There are missing include and using in TextStubTests and AsmPrinterDwarfTest and they causes build failures when using vanilla GoogleTest v1.14.0. This patch fixes this issue.
-
Tom Stellard authored
Secrets are not available for workflows triggered by PRs, so we need to split the pr-subscriber action into two separate actions. The first will listen for new labels on PRs and the second will add a comment with the team mention. See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
-
Siva Chandra authored
-
Konstantin Varlamov authored
This is to bring `main` in sync with `release/17.x` after https://reviews.llvm.org/D159171. Differential Revision: https://reviews.llvm.org/D159454
-
Michael Liao authored
-
Joseph Huber authored
Summary: AMDGPU binaries use a "code object" as the ABI indicator. We are currently trying to move over to a newer code object. We want these library functions to use the "generic" or default ABI such that it is specified when linked into the user application. Currently this will default to v4 as the startup code will use whatever the current default is.
-
Ethan Luis McDonough authored
Executable allocate directives require that list items show up in the corresponding allocate statement. This patch is dependent on revision D150428 and applies the semantic check introduced there to allocate directives associated with allocate statements. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D150483
-