- Dec 29, 2021
-
-
Krzysztof Parzyszek authored
llvm/test/DebugInfo/Hexagon/zreg-post-inc.s -> llvm/test/MC/Hexagon/zreg-post-inc.s
-
Michael Benfield authored
This should fix the builder clang-sphinx-docs.
-
David Green authored
We should always be in SSA form when running the pass, so turn a check into an assert.
-
Roman Lebedev authored
Can't get the pointee type of an opaque pointer, but in that case said attributes must already be typed, so just don't try to rewrite them if they already are.
-
Greg Clayton authored
When we switched options over to use the Options.td file, a bug was introduced that caused the "-g" option for "settings set" to require a filename arguemnt. This patch fixes this issue and adds a test so this doesn't regress. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D116012
-
Greg Clayton authored
This patch add the ability to cache the manual DWARF indexing results to disk for faster subsequent debug sessions. Manual DWARF indexing is time consuming and causes all DWARF to be fully parsed and indexed each time you debug a binary that doesn't have an acceptable accelerator table. Acceptable accelerator tables include .debug_names in DWARF5 or Apple accelerator tables. This patch breaks up testing by testing all of the encoding and decoding of required C++ objects in a gtest unit test, and then has a test to verify the debug info cache is generated correctly. This patch also adds the ability to track when a symbol table or DWARF index is loaded or saved to the cache in the "statistics dump" command. This is essential to know in statistics as it can help explain why a debug session was slower or faster than expected. Reviewed By: labath, wallace Differential Revision: https://reviews.llvm.org/D115951
-
Fangrui Song authored
-
Kazu Hirata authored
Identified with readability-const-return-type.
-
Brian Cain authored
-
Brian Cain authored
Z-register does not show up in defs, so checks searching for the def operand must look for a different def index than they would normally.
-
Tony Tye authored
- Update documentation on the DWARF extension for heterogeneous debugging to better reference the DWARF Version 5 standard. - Numerous other corrections. Reviewed By: kzhuravl Differential Revision: https://reviews.llvm.org/D116275
-
Tony Tye authored
Add changes to the DWARF Version 5 standard to the DWARF extension to allow locations on the evaluation stack documentation. Reviewed By: kzhuravl Differential Revision: https://reviews.llvm.org/D116265
-
Kazu Hirata authored
Identified with modernize-use-nullptr.
-
Florian Hahn authored
This patch adds a new prepareToExecute helper to set up live-ins, so VPTransformState doesn't need to hold values like TripCount. This also requires making the trip count operand for ActiveLaneMask explicit in VPlan. Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D116320
-
Krzysztof Parzyszek authored
HexagonMCChecker has its own function isPredicateRegister, which does the same thing as HexagonMCInstrInfo::isPredReg.
-
- Dec 28, 2021
-
-
Sanjay Patel authored
We should not lose analysis precision if an 'add' has both no-wrap flags (nsw and nuw) compared to just one or the other. This patch is modeled on a similar construct that was added with D59386. I don't think it is possible to expose a problem with an unsigned compare because of the way this was coded (nuw is handled first). InstCombine has an assert that fires with the example from: https://github.com/llvm/llvm-project/issues/52884 ...because it was expecting InstSimplify to handle this kind of pattern with an smax. Fixes #52884 Differential Revision: https://reviews.llvm.org/D116322
-
Sanjay Patel authored
-
Florian Hahn authored
Not all header phis widen the phi, e.g. like the new VPCanonicalIVPHIRecipe in D113223. To let those recipes also inherit from a phi-like base class, add a more generic VPHeaderPHIRecipe abstract base class. Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D116304
-
Nikita Popov authored
In their current form, these folds are fundamentally incompatible with opaque pointers. We should add a separate set of folds for the canonicalization of the GEP source type. For now, skip these folds.
-
Nikita Popov authored
The GEP source type is independent of whether it is a scalar or vector GEP, as such we can simply preserve it.
-
Nikita Popov authored
This time with some complex arithmetic involving bitcasts.
-
Nikita Popov authored
Switch this Assembler test to use utc by adding a dummy function and opt run line.
-
Nikita Popov authored
An inbounds GEP may still cross the sign boundary, so signed icmps cannot be folded (https://alive2.llvm.org/ce/z/XSgi4D). This was previously fixed for other folds in this function, but this one was missed.
-
Nikita Popov authored
The fold is incorrect for the sgt case, as gep inbounds is allowed to cross the sign boundary.
-
Nikita Popov authored
We need to make sure that the GEP source element types match. A caveat here is that the used GEP source element type can be arbitrary if no offset is stripped from the original GEP -- the transform is somewhat inconsistent in that it always starts from a GEP, but might not actually look through it if it has multiple indices.
-
Florian Hahn authored
Required for further refactoring in D116304.
-
Kazu Hirata authored
Identified with readability-const-return-type.
-
Nikita Popov authored
We need to also check that the source element type is the same, otherwise the indices may have different meaning. The added addrspacecast demonstrates that we do still need to check the pointer type.
-
Chuanqi Xu authored
Add two tests to address the problems during marking coro.resume calls as musttail. The two problems are bitcast instruction and unused instruciton respectively.
-
LLVM GN Syncbot authored
-
Stanislav Gatev authored
This is part of the implementation of the dataflow analysis framework. See "[RFC] A dataflow analysis framework for Clang AST" on cfe-dev. Reviewed By: xazax.hun, gribozavr2 Differential Revision: https://reviews.llvm.org/D116022
-
Fangrui Song authored
The decreased size does not matter that much as one file contributes at most one EhInputSection.
-
Kazu Hirata authored
Identified by misc-unused-using-decls.
-
Fangrui Song authored
and remove associated make<XXX> calls. gnuHash and sysvHash are unchanged, otherwise LinkerScript::discard would destroy the objects which may be referenced by input section descriptions. My x86-64 lld executable is 121+KiB smaller.
-
Hsiangkai Wang authored
After consuming all vector registers, the scalable vector values will be passed indirectly. The pointer values will be saved in general registers. If all general registers are used up, we will report an error to notify users the compiler does not support passing scalable vector values through the stack. In this patch, we remove the restriction. After all general registers are used up, we use the stack to save the pointers which point to the indirect passed scalable vector values. Differential Revision: https://reviews.llvm.org/D116310
-
Fangrui Song authored
-
Kazu Hirata authored
Identified with readability-const-return-type.
-
Fangrui Song authored
-
Kazu Hirata authored
Identified with readability-const-return-type.
-
Kazu Hirata authored
Identified with readability-string-compare.
-