- Jun 04, 2022
-
-
Sam McCall authored
Similar to LLVM_TABLEGEN, CLANG_TABLEGEN variables Differential Revision: https://reviews.llvm.org/D126717
-
Sam McCall authored
This name is not namespaced. Requested in D126717 Differential Revision: https://reviews.llvm.org/D126725
-
Sam Clegg authored
This is less code, and matches more closely the ELF linker. Differential Revision: https://reviews.llvm.org/D126979
-
Benjamin Kramer authored
-
Sam McCall authored
ClangBasic dependency eliminated by replacing our usage of tok::getPunctuatorSpelling etc with direct use of the *.def file. Implicit dependencies on clang-tablegen-targets removed as we manage to avoid any transitive tablegen deps. After these changes, `ninja clean; ninja pseudo-gen` runs 169 actions only (basically Support and Demangle). Differential Revision: https://reviews.llvm.org/D126731
-
Jim Ingham authored
It was putting the command the user typed, and then the resolved command in the command history. That caused up-arrow not to work correctly when the regex command was invoked from a Python-command. Plus it's just weird. Differential Revision: https://reviews.llvm.org/D126789
-
Nikolas Klauser authored
In D122982 I accidentally disabled the memmove optimization. This re-enables it and adds more cases where copy forwards to memmove. Fixes https://github.com/llvm/llvm-project/issues/33687 Reviewed By: var-const, #libc, ldionne Spies: pkasting, ayzhao, dcheng, xbolva00, libcxx-commits Differential Revision: https://reviews.llvm.org/D124328
-
Kevin Athey authored
Depends on 1a729bce Differential Revision: https://reviews.llvm.org/D126981
-
python3kgae authored
add missing dependency for hlsl-resource-headers and clang-resource-headers. Reviewed By: rastogishubham Differential Revision: https://reviews.llvm.org/D126892
-
Craig Topper authored
Test changes are because isBaseWithConstantOffset uses computeKnownBits and that is able to see that an earlier AND instruction guaranteed alignment so that we can treat an OR as an ADD. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D126970
-
Reid Kleckner authored
It is redundant with llvm-config.h, which is always included by config.h. Port D12660 / d178f4fc from config.h to llvm-config.h. Update the gn build accordingly. NFCI
-
Krzysztof Drewniak authored
This reverts commit 4e5ce205. This relands commit 1350c988. Reinstates the range analysis with the build issue fixed. Differential Revision: https://reviews.llvm.org/D126926
-
Florian Mayer authored
Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D126935
-
Kevin Athey authored
This interceptor only addresses writes to inputs. Reads of inputs are not checked. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D126851
-
Nick Desaulniers authored
Building with cmake 3.23.2+ produces warnings when using LLVM_ENABLE_RUNTIMES. Set this policy to the existing behavior for now to silence the warnings. Fixes: https://github.com/llvm/llvm-project/issues/50122 Fixes: https://github.com/llvm/llvm-project/issues/54944 Reviewed By: phosek, penzn Differential Revision: https://reviews.llvm.org/D126923
-
Leonard Grey authored
This is setup for allowing hasAttribute to work for plugin-provided attributes Differential Revision: https://reviews.llvm.org/D126902
-
spupyrev authored
A new "cache-aware" strategy for tail duplication. Differential Revision: https://reviews.llvm.org/D123050
-
Craig Topper authored
Previously we had 3 different isel patterns for every scalar load store instruction. This reduces them to a single ComplexPattern that returns the Base and Offset. Or an offset of 0 if there was no offset identified I've done a similar thing for the 2 isel patterns that match add/or with FrameIndex and immediate. Using the offset of 0, I was also able to remove the custom handler for FrameIndex. Happy to split that to another patch. We might be able to enhance in the future to remove the post-isel peephole or the special handling for ADD with constant added by D126576. A nice side effect is that this removes nearly 3000 bytes from the isel table. Differential Revision: https://reviews.llvm.org/D126932
-
- Jun 03, 2022
-
-
Benjamin Kramer authored
-
Alvin Wong authored
When loading split debug files for PE/COFF executables (produced with `objcopy --only-keep-debug`), the tables or directories in such files may point to data inside sections that may have been stripped. COFFObjectFile shall detect and gracefully handle this, to allow the object file be loaded without considering these tables or directories. This is required for LLDB to load these files for use as debug symbols. COFFObjectFile shall also check these pointers more carefully to account for cases in which the section contains less raw data than the size given by VirtualSize, to prevent going out of bounds. This commit also changes COFFDump in llvm-objdump to reuse the pointers that are already range-checked in COFFObjectFile. This fixes a crash when trying to dump the TLS directory from a stripped file. Fixes https://github.com/mstorsjo/llvm-mingw/issues/284 Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D126898
-
Alexey Bataev authored
Improved/fixed cost modeling for shuffles by providing masks, improved cost model for non-identity insertelements. Differential Revision: https://reviews.llvm.org/D115462
-
Yuki Okushi authored
That link returns 404, we have bindings code on https://github.com/llvm/llvm-project/tree/main/llvm/bindings/go but it seems we haven't published it and there are no docs yet. Differential Revision: https://reviews.llvm.org/D126874
-
Nico Weber authored
After years of tablegen being the only host binary we run as part of the build, we're now in the process of growing at least two more: - make_confusable_table (https://reviews.llvm.org/rG180bae08a04d) - pseudo-gen (not yet fully hooked up in the GN build, but I have a local branch that hooks it up) Factor out the few lines we need for running a host binary as part of the build. No behavior change. Differential Revision: https://reviews.llvm.org/D126963
-
Jamie Schmeiser authored
Summary: Change the warning produced for subtraction from (or with) a null pointer to only be produced when the code path is live. https://github.com/llvm/llvm-project/issues/54570 Author: Jamie Schmeiser <schmeise@ca.ibm.com> Reviewed By: anarazel (Andres Freund) Differential Revision: https://reviews.llvm.org/D126816
-
Arnold Schwaighofer authored
Async context frames are allocated with a maximum alignment. If a type requests an alignment bigger than that dynamically align the address in the frame. Differential Revision: https://reviews.llvm.org/D126715
-
Stanislav Gatev authored
Model calls returning optionals Differential Revision: https://reviews.llvm.org/D126759 Reviewed-by: ymandel, xazax.hun
-
Nico Weber authored
This reverts commit b94db7ed. See comments on https://reviews.llvm.org/D112916: - breaks `check-clangd`, and makes clang-tidy crash on simple inputs - likely does the wrong thing in cross builds Also revert follow-up "[gn build] (manually) port b94db7ed (Confusables.inc)" This reverts commit 180bae08.
-
Nico Weber authored
`python` no longer exists on several systems, and the script runs under python3 when run as part of lit.
-
Michał Górny authored
Do not send SIGSTOP when requested to halt a process that's already stopped. This results in the signal being queued for delivery once the process is resumed, and unexpectedly stopping it again. This is necessary for non-stop protocol patches to land. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D126770
-
Aaron Ballman authored
This should address build failures like: https://lab.llvm.org/buildbot/#/builders/188/builds/14980 https://lab.llvm.org/buildbot/#/builders/171/builds/15515 https://lab.llvm.org/buildbot/#/builders/91/builds/9877
-
Nikita Popov authored
The previous checks were manually modified to avoid the label clash. Use the --function-signature flag that exists for this purpose.
-
Aaron Ballman authored
Adds test coverage or information for ~25 more C DRs.
-
Nikita Popov authored
-
Hans Wennborg authored
-
Benjamin Kramer authored
-
lewuathe authored
Correctness check for tanh operation in complex dialect. Ref: https://reviews.llvm.org/D126858 Reviewed By: pifon2a Differential Revision: https://reviews.llvm.org/D126946
-
Benjamin Kramer authored
Avoids a warning in release builds llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp:311:14: warning: unused variable 'BrCond' [-Wunused-variable] Value *BrCond = Br->getCondition(); -
Nico Weber authored
-
The HashLoc in InclusionDirective callback is an unused parameter. Since pp-trace is also used as a test of Clang’s PPCallbacks interface, add it to the output of pp-trace could avoid some unintended change on it. This shuold resolves PR52673 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D125373
-
Benjamin Kramer authored
Remove a few stray semicolons while there.
-