- Sep 28, 2022
-
-
Archibald Elliott authored
fp16 and bf16 values can be used in GCC's inline assembly using the "t" constraint, which means "VFP floating-point registers s0-s31" - fp16 and bf16 values are stored in S registers too. This change ensures that LLVM is compatible with GCC for programs that use fp16 and the 't' constraint. Fixes #57753 Differential Revision: https://reviews.llvm.org/D134553
-
David Truby authored
This patch changes the handling of complex number intrinsics that have C libm equivalents to call into those instead of calling the external pgmath library. Currently complex numbers to integer powers are excluded as libm has no powi equivalent function. Differential Revision: https://reviews.llvm.org/D134655
-
Anubhab Ghosh authored
This class was used for testing JITLink with -noexec option and also included slab allocation support. Its functionality has been replaced with InProcessDeltaMapper and MapperJITLinkMemoryManager. Differential Revision: https://reviews.llvm.org/D134781
-
David Spickett authored
All callers have been converted to the optional version. Depends on D134540 Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D134541
-
David Spickett authored
Depends on D134539 Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D134540
-
Louis Dionne authored
We should strive to have our own tests, except when there is overwhelming value in using another standard library's existing tests. The reason is that it ensures that implementations don't all start relying on the same interpretation of the Standard. The unique_ptr tests did not add any test coverage AFAICT, and the forward_like tests were moved to the style used everywhere in the libc++ test suite. Note that I got to this because this actually broke a downstream configuration where we use -ffreestanding. The signature of main() was not consistent with the signature we (need to) use everywhere in the test suite. Differential Revision: https://reviews.llvm.org/D134767
-
liqinweng authored
Reviewed By: david-arm Differential Revision: https://reviews.llvm.org/D134413
-
Florian Hahn authored
The argument is unused and can be removed.
-
Carl Ritson authored
Make MIMG NSA minimum addresses threshold an attribute that can be set on a function or configured via command line. This enables frontend tuning which allows increased NSA usage where beneficial. Reviewed By: foad Differential Revision: https://reviews.llvm.org/D134780
-
David Spickett authored
Depends on D134538 Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D134539
-
David Spickett authored
Depends on D134537 Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D134538
-
liqinweng authored
Reviewed By: Jimerlife Differential Revision: https://reviews.llvm.org/D134520
-
David Spickett authored
Depends on D134536 Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D134537
-
Florian Hahn authored
After deleting a loop, the block and loop dispositions need to be cleared. As we don't know which SCEVs in the loop/blocks may be impacted, completely clear the cache. This should also fix some cases where deleted loops remained in the LoopDispositions cache. This fixes a verification failure surfaced by D134531. Reviewed By: mkazantsev Differential Revision: https://reviews.llvm.org/D134613
-
Hui Xie authored
Differential Revision: https://reviews.llvm.org/D131495
-
Simon Pilgrim authored
[SLP] ScalarizationOverheadBuilder - demand all elements for scalarization if the extraction index is unknown / out of bounds Workaround for a chromium bug reported on D134605 - test case will be added later
-
Kristof Beyls authored
We are already using the Co-author-by git tag, but don't have documentation in our developer policy about it. Fix that. Differential Revision: https://reviews.llvm.org/D134740
-
Alvin Wong authored
Both LLD and GNU ld write global/static variables to the COFF symbol table with `IMAGE_SYM_TYPE_NULL` and `IMAGE_SYM_DTYPE_NULL` type. Map these symbols as 'Data' type in the symtab to allow these symbols to be used in expressions and printable. Reviewed By: labath, DavidSpickett Differential Revision: https://reviews.llvm.org/D134585
-
Alvin Wong authored
Forwarder exports do not point to a real function or variable. Instead they point to a string describing which DLL and symbol to forward to. Any imports which uses them will be redirected by the loader transparently. These symbols do not have much use in LLDB, but keep them just in case someone find it useful. Also set a synthesized name with the forwarder string for informational purpose. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D134518
-
Alvin Wong authored
Reviewed By: labath Differential Revision: https://reviews.llvm.org/D134517
-
Alvin Wong authored
If a symbol is the same as an export symbol, mark it as 'Additional' to prevent the duplicated symbol from being repeated in some commands (e.g. `disas -n func`). If the RVA is the same but exported with a different name, only synchronize the symbol types. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D134426
-
Alvin Wong authored
- Skip dummy/invalid export symbols. - Make the export ordinal of export symbols visible when dumping the symtab. - Stop setting the 'Debug' flag and set the 'External' flag instead to better match the meaning of export symbols. - Try to guess the type (code vs data) of the symbol from section flags. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D134265
-
Alvin Wong authored
This reimplements `ObjectFilePECOFF::ParseSymtab` to replace the manual data extraction with what `COFFObjectFile` already provides. Also use `SymTab::AddSymbol` instead of resizing the SymTab then assigning each elements afterwards. Previously, ParseSymTab loads symbols from both the COFF symbol table and the export table, but if there are any entries in the export table, it overwrites all the symbols already loaded from the COFF symbol table. Due to the change to use AddSymbols, this no longer happens, and so the SymTab now contains all symbols from both tables as expected. The export symbols are now ordered by ordinal, instead of by the name table order. In its current state, it is possible for symbols in the COFF symbol table to be duplicated by those in the export table. This behaviour will be modified in a separate change. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D134196
-
Simon Pilgrim authored
-
wanglei authored
Defines LoongArch registers for getExceptionPointerRegister() and getExceptionSelectorRegister(). Differential Revision: https://reviews.llvm.org/D134709
-
River Riddle authored
Since version 0.10 we've: * Added support for viewing/editing bytecode files
-
Muhammad Omair Javaid authored
GetErrcMessages.cmake module makes use of cmake's try_run which by default builds its sources in debug mode unless configured with CMAKE_TRY_COMPILE_CONFIGURATION. Debug builds on Windows sometimes fail when appropraite DLLs are not included in path. Also on Windows on Arm machines debug builds sometimes fail to link the correct debug DLLs. To fix this I am setting CMAKE_TRY_COMPILE_CONFIGURATION to active build configuration of currently configured LLVM project. This makes sure we select same build type for try_run/try_compile cmake modules as currently configured LLVM project. Reviewed By: zero9178 Differential Revision: https://reviews.llvm.org/D133482
-
Igor Kirillov authored
Fixes #57572 Generally LICM pass is responsible for sinking out code that calculates invariant address inside loop as it only needed to be calculated once. But in rare case it does not happen we will not be vectorizing the loop. Differential Revision: https://reviews.llvm.org/D133687
-
jacquesguan authored
Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D134718
-
Cullen Rhodes authored
These instructions are flag setting so the ptest is redundant, the TableGen class wasn't setting the element size for the predicate causing the checks in AArch64InstrInfo::optimizePTestInstr to fail.
-
Cullen Rhodes authored
-
Christian Sigg authored
The 'RUN' command was missing the input file argument.
-
River Riddle authored
Normal compilation doesn't care about tracking references, and shouldn't pay the compilation time cost.
-
Chenbing Zheng authored
-
Fraser Cormack authored
These look like they were copy/pasted from vfabs-vp.ll Reviewed By: eopXD Differential Revision: https://reviews.llvm.org/D134789
-
Vitaly Buka authored
-
Fangrui Song authored
This reverts commit bce64167. The workaround is unneeded after 7dac9f4e.
-
Fangrui Song authored
-
River Riddle authored
This allows hover documentation to show up in the vscode extension.
-
Siva Chandra Reddy authored
The existing thrd_once function has been refactored so that the implementation can be shared between thrd_once and pthread_once functions. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D134716
-