This project is mirrored from https://github.com/llvm/llvm-project.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- Mar 23, 2022
-
-
Danny Mösch authored
-
Jan Svoboda authored
`HeaderSearch` currently assumes `LookupFileCache` is eventually populated in `LookupFile`. However, that's not always the case with `-fms-compatibility` and its early returns. This patch adds a defensive check that the iterator pulled out of the cache is actually valid before using it. (This bug was introduced in D119721. Before that, the cache was initialized to `0` - essentially the `search_dir_begin()` iterator.) Reviewed By: dexonsmith, erichkeane Differential Revision: https://reviews.llvm.org/D122237
-
Benjamin Kramer authored
-
Vince Bridgers authored
This change fixes a crash in RangedConstraintManager.cpp:assumeSym due to an unhandled BO_Div case. clang: <root>clang/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:51: virtual clang::ento::ProgramStateRef clang::ento::RangedConstraintManager::assumeSym(clang::ento::ProgramStateRef, clang::ento::SymbolRef, bool): Assertion `BinaryOperator::isComparisonOp(Op)' failed. Reviewed By: NoQ Differential Revision: https://reviews.llvm.org/D122277
-
Vince Bridgers authored
This is a NFC refactoring to change makeIntValWithPtrWidth and remove getZeroWithPtrWidth to use types when forming values to match pointer widths. Some targets may have different pointer widths depending upon address space, so this needs to be comprehended. Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D120134
-
Augusto Noronha authored
Take into account the contributions of the sections from different object files when calculating the address where relocations should be applied. Differential Revision: https://reviews.llvm.org/D122239
-
serge-sans-paille authored
Discourse thread: https://discourse.llvm.org/t/include-what-you-use-include-cleanup Differential Revision: https://reviews.llvm.org/D122180
-
Marek Kurdej authored
Fixes https://github.com/llvm/llvm-project/issues/54418. Reviewed By: MyDeveloperDay Differential Revision: https://reviews.llvm.org/D121916
-
Marcus Johnson authored
It was previously reverted in a6beb18b due to test failures.
-
Matthias Springer authored
This fixes a bufferization issue with ops that are not supported by the buffer deallocation pass when `allow-return-allocs=0`. Differential Revision: https://reviews.llvm.org/D122304
-
Aaron Ballman authored
-
Nikita Popov authored
If the option is edited to use true as the default, we should respect that, rather than hardcoding false here.
-
Zahira Ammarguellat authored
This reverts commit 56d46b36. The LIT test SemaCXX/attr-trivial-abi.cpp is failing with 32bit build on Windows. All the lines with the ifdef WIN32 are asserting but they are not expected to. It looks like the LIT test was not tested on a 32bit build of the compiler.
-
Sanjay Patel authored
-
David Spickett authored
This reverts commit edb7ba71. This changes BLR_BTI to take variable_ops meaning that we can accept a register or a label. The pattern still expects one argument so we'll never get more than one. Then later we can check the type of the operand to choose BL or BLR to emit. (this is what BLR_RVMARKER does but I missed this detail of it first time around) Also require NoSLSBLRMitigation which I missed in the first version.
-
Nikita Popov authored
And as these are the last remaining uses, also remove the constructor itself.
-
Aaron Ballman authored
This support was completed in bf7d9970
-
Shraiysh Vaishay authored
This patch adds omp.single according to Section 2.8.2 of OpenMP 5.0. Also added tests for the same. Reviewed By: peixin Differential Revision: https://reviews.llvm.org/D122288 Co-authored-by:
Kiran Kumar T P <kirankumar.tp@amd.com>
-
Sven van Haastregt authored
This simplifies completeness comparisons against OpenCLBuiltins.td and also makes the header no longer "claim" the identifiers "data" and "offset". Continues the direction set out in D119560.
-
Arjun P authored
Reviewed By: Groverkss Differential Revision: https://reviews.llvm.org/D122154
-
Nikita Popov authored
This requires some adjustment in caller code, because there was a confusion regarding the meaning of the PtrTy argument: This argument is the type of the pointer being loaded, not the addresses being loaded from. Reapply after fixing the specified pointer type for one call in 47eb4f7d, where the used type is important for determining alignment.
-
Nikita Popov authored
Check which alignments are generated for loads/stores.
-
Arjun P authored
This is a convenience function for adding new divisions to the Simplex given the numerator and denominator. This will be needed for symbolic integer lexmin support. Reviewed By: Groverkss Differential Revision: https://reviews.llvm.org/D122159
-
Nikita Popov authored
Perform a bitcast first, so we can specify the correct pointer type inf EmitLoadOfPointerLValue(), rather than using a dummy void pointer.
-
David Spickett authored
This reverts commit eb5ecbbc due to failures on buildbots with expensive checks enabled.
-
Nikita Popov authored
There were two more places repeating this code, reuse the helper. This requires moving the static functions into the class.
-
serge-sans-paille authored
Discourse thread: https://discourse.llvm.org/t/include-what-you-use-include-cleanup Differential Revision: https://reviews.llvm.org/D122181
-
Benjamin Kramer authored
-
Ingo Müller authored
This also replaces the absolute link to the same document with a relative one in the same file. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D121814
-
David Spickett authored
Some implementations of setjmp will end with a br instead of a ret. This means that the next instruction after a call to setjmp must be a "bti j" (j for jump) to make this work when branch target identification is enabled. The BTI extension was added in armv8.5-a but the bti instruction is in the hint space. This means we can emit it for any architecture version as long as branch target enforcement flags are passed. The starting point for the hint number is 32 then call adds 2, jump adds 4. Hence "hint #36" for a "bti j" (and "hint #34" for the "bti c" you see at the start of functions). The existing Arm command line option -mno-bti-at-return-twice has been applied to AArch64 as well. Support is added to SelectionDAG Isel and GlobalIsel. FastIsel will defer to SelectionDAG. Based on the change done for M profile Arm in https://reviews.llvm.org/D112427 Fixes #48888 Reviewed By: danielkiss Differential Revision: https://reviews.llvm.org/D121707
-
Nikita Popov authored
Check which alignments are generated for loads and stores.
-
Nikita Popov authored
This reverts commit 767ec883. This results in a some incorrect alignments which are not covered by existing tests.
-
Tobias Hieta authored
-
Alex Bradbury authored
The previous code didn't take account for the fact that parseExpression my lex additional tokens - because of this, it's necessary to record the location of the current token ahead of the call. This patch additionally makes use of the fact parseExpression will set its End parameter to the end of the expression. Although this fix could be added independently of D122127, I've opted to make it a child patch in order to ensure the change has some test coverage. Differential Revision: https://reviews.llvm.org/D122128
-
Alex Bradbury authored
This addresses a series of FIXMEs introduced in D122020. A follow-up patch (D122128) addresses the bug that is exposed by this change (an issue with source location information when lexing identifiers). Differential Revision: https://reviews.llvm.org/D122127
-
Alexander Belyaev authored
-
Valentin Clement authored
Remove 2 spaces indent that was introduced by mistake when upstreaming these files.
-
Jacob Lambert authored
Code object version 5 will use the same EFlags as version 4, so we only need to add an additional case Differential Revision: https://reviews.llvm.org/D122190
-
Alisamar Husain authored
-
Craig Topper authored
This reverts commit 1a9b55b6. Causing build bot failures
-