- Apr 17, 2024
-
-
Jan Svoboda authored
The `clang-scan-deps` tool can be used for fast scanning of batches of compilation commands passed in via the `-compilation-database` option. This gets awkward in our tests where we have to resort to using `.in`/`.template` JSON files and running them through `sed` in order to embed LIT's `%t` variable into them. However, most of our tests only need to pass single compilation command, so this dance is entirely unnecessary. This patch makes sure the existing "per-file" mode (where the compilation command is passed in-line after the `--` argument) works for all output formats, not only `P1689`.
-
Brandon Wu authored
Currently the CFI offset for RVV registers are not handled entirely, this patch add those information for either stack unwinding or debugger to work correctly on RVV callee-saved stack object. Depends On D154576 Differential Revision: https://reviews.llvm.org/D156846
-
Luke Lau authored
The VTYPE operands of a vsetvli pseudo are always immediates
-
Congcong Cai authored
Reapply for #88765. Partially fixes: #60895.
-
Maksim Panchenko authored
RewriteInstance::isKSymtabSection() is deprecated.
-
Maksim Panchenko authored
getFileOffsetFor() was replaced with getFileOffsetForAddress().
-
Vitaly Buka authored
RFC: https://discourse.llvm.org/t/rfc-introduce-new-clang-builtin-builtin-allow-runtime-check/78281 --------- Co-authored-by:
Noah Goldstein <goldstein.w.n@gmail.com> Co-authored-by:
Aaron Ballman <aaron@aaronballman.com>
-
Vitaly Buka authored
Reverts llvm/llvm-project#88546 Leak and performance regression. Details in #88546
-
Michael Liao authored
- If a def operand includes multiple sub-operands, count them when generating instr info. - Found issues in x86 and sparc backends, where memory operands of store or store-like instructions are wrongly placed in the output list. Reviewers: jayfoad, arsenm, Pierre-vh Reviewed By: arsenm Pull Request: https://github.com/llvm/llvm-project/pull/88972
-
Michael Liao authored
- Those special register stores are STORE and their memory operands are input operands instead of output ones. Reviewers: JDevlieghere, arsenm, yinying-lisa-li, koachan, PeimingLiu, jyknight, aartbik, matthias-springer Reviewed By: arsenm Pull Request: https://github.com/llvm/llvm-project/pull/88971
-
Nikita Popov authored
This reverts commit 7d4e8c1f. Contrary to the commit description, this does cause large compile-time regressions (up to 10% on individual files).
-
Eli Friedman authored
Since 97fe519d, in ARM64EC mode, we don't define `__aarch64__`. Fix various preprocessor guards to account for this.
-
Prashant Kumar authored
…se of tensor pack When the vector sizes are not passed as inputs to the vector transform operation, the vector sizes are queried from the static result shape in the case of tensor.pack op.
-
Andy Kaylor authored
This change updates a few of the transformations in foldFMulReassoc to respect absent fast-math flags in cases where fmul and fdiv, fadd, or fsub instructions were being folded but the code was only checking for fast-math flags on the fmul instruction and was transferring flags to the folded instruction that were not present on the other original instructions. This fixes https://github.com/llvm/llvm-project/issues/82857
-
Keith Smiley authored
-
darkbuck authored
- With the memory operand as the destination, 'mr' variants of CFCMOV works like STORE and their memory operands should be input operands instead of output ones. Reviewers: XinWang10, arsenm Pull Request: https://github.com/llvm/llvm-project/pull/88970
-
Usama Hameed authored
The previous patch was reverted because the test fails to build when libsanitizers is not present. This patch catches the BuildError exception and skips the test appropriately. This patch tests LLDB integration with libsanitizers for ASan. rdar://111856681
-
Craig Topper authored
This is largely a revert of commit e8179667. As #88029 shows, there exists hardware that only supports unaligned scalar. I'm leaving how this gets exposed to the clang interface to a future patch.
-
Peiming Liu authored
followed the same style used in "TensorOps.td".
-
Michael Jones authored
libc.incude.fenv -> libc.include.fenv
-
Kazu Hirata authored
-
Hubert Tong authored
Fix a use of inline code markup to have a non-word character after the ending delimiter as required by reST.
-
Noah Goldstein authored
[ValueTracking] Implement `computeKnownFPClass` for `llvm.vector.reduce.{fmin,fmax,fmaximum,fminimum}` Closes #88408 -
Noah Goldstein authored
[ValueTracking] Add tests for `computeKnownFPClass` of `llvm.vector.reduce.{fmin,fmax,fmaximum,fminimum}`; NFC -
Arthur Eubanks authored
This reverts commit c6e38b92. Causes miscompiles, see comments on #78304.
-
Philip Reames authored
This vendor extension has the same shift_add as zba, and most of the same patterns are duplicated. Enable it here too so the configurations don't diverge.
-
Noah Goldstein authored
This is essentially the same as #82404 but has the `nneg` flag which allows the backend to reliably undo the transform. Closes #88299
-
Florian Hahn authored
VPBlendRecipes don't get lowered to phis and usually do not appear at the beginning of blocks, due to their masks appearing before them. This effectively relaxes an over-eager verifier message. Fixes https://github.com/llvm/llvm-project/issues/88297. Fixes https://github.com/llvm/llvm-project/issues/88804.
-
Valentin Clement (バレンタイン クレメン) authored
Add the fir.cuda_deallocate operation that perform device deallocation of data hold by a descriptor. This will replace the call to AllocatableDeallocate from the runtime. This is a companion operation to the one added in #88586
-
Nicolai Hähnle authored
-
Nicolai Hähnle authored
This test is meant to demonstrate an upcoming change that replaces basic block labels by FileCheck patterns.
-
Nicolai Hähnle authored
The test shows that name preservation doesn't work properly when --include-generated-funcs is used.
-
Arthur Eubanks authored
Following #78348, we should treat functions with an explicit section as small, unless the section name is (or has the prefix) ".ltext". Clang emits global initializers into a ".text.startup" section on Linux. If we mix small/medium code model object files with large code model object files, we'll end up mixing sections with and without the large section flag. Reland of #87838 with a check for non-ELF platforms in TargetMachine::isLargeGlobalValue(), otherwise MCJIT on Windows tests fail.
-
Kazu Hirata authored
Now readNext defaults to unaligned accesses. This patch drops unaligned to improve readability.
-
juan.vazquez authored
UPCAddressofArraySubscriptGadget::getClaimedVarUseSites should skip parentheses when accessing the DeclRefExpr, otherwise a crash happens with parenthesized references.
-
Jeremy Kun authored
I figured out how to test this with `make mlir-doc doxygen-mlir`
-
Joseph Huber authored
Summary: Previously, the R&R support was global state initialized by a global constructor. This is bad because it prevents us from adequately constraining the lifetime of the library. Additionally, we want to minimize the amount of global state floating around. This patch moves the R&R support into a plugin member like everything else. This means there will be multiple copies of the R&R implementation floating around, but this was already the case given the fact that we currently handle everything with dynamic libraries.
-
erichkeane authored
This just replaces an '#include<new>' with a declaration of array placement new.
-