- Nov 18, 2023
-
-
Vitaly Buka authored
Created using spr 1.3.4 [skip ci]
-
Vitaly Buka authored
Caller puts argument shadow one by one into __msan_va_arg_tls, until it reaches kParamTLSSize. After that it still increment OverflowOffset but does not store the shadow. Callee needs OverflowOffset to prepare a shadow for the entire overflow area. It's done by creating "varargs shadow copy" for complete list of args, copying available shadow from __msan_va_arg_tls, and clearing the rest. However callee does not know if the tail of __msan_va_arg_tls was not able to fit an argument, and callee will copy tail shadow into "varargs shadow copy", and later used as a shadow for an omitted argument. So that unused tail of the __msan_va_arg_tls must be cleared if left unused. This allows us to enable compiler-rt/test/msan/vararg_shadow.cpp for x86. Reviewers: kstoimenov, thurstond Reviewed By: thurstond Pull Request: https://github.com/llvm/llvm-project/pull/72707
-
Boian Petkantchin authored
ReifyRankedShapedTypeShapeOpInterface does not exis. ReifyRankedShapedTypeShapeOpInterface -> ReifyRankedShapedTypeOpInterface.
-
Ellis Hoag authored
Fix a `CHECK-NOT` line in a cspgo clang test
-
Owen Pan authored
Fixed #54815. Fixed #55269. Fixed #55493. Fixed #68431.
-
Jon Roelofs authored
This showed up when simplifying some large testcase, where the cfi directives became out of sync with the proc's they enclose. rdar://111459507 Differential revision: https://reviews.llvm.org/D155245 This reverts commit 4172fcc1.
-
Jon Roelofs authored
... in preparation for diagnosing improperly nested .cfi regions. See https://reviews.llvm.org/D155245
-
Vitaly Buka authored
-
Vitaly Buka authored
FP80 is passed using stack.
-
PragmaTwice authored
This patch brings std::ios_base::noreplace from P2467R1 to libc++. This requires compiling the shared library in C++23 mode since otherwise fstream::open(...) doesn't know about the new flag. Differential Revision: https://reviews.llvm.org/D137640 Co-authored-by:
Louis Dionne <ldionne.2@gmail.com>
-
Vitaly Buka authored
3bc439bd implemented overflow copying in a different way. It's lucky to pass this test, but may fails in a different way. Reviewers: thurstond, iii-i Reviewed By: thurstond Pull Request: https://github.com/llvm/llvm-project/pull/72710
-
Louis Dionne authored
-
erichkeane authored
Discovered while working on another patch, this patch fixes the case where are construct/directive name isn't provided.
-
Alexey Bataev authored
Expr container, NFC. Saves the memory and may improve compile time.
-
Georgios Eleftheriou authored
By converting the offending strings to raw string literals.
-
Björn Svensson authored
Add HICPP rule identities to the documentation for `hicpp-avoid-c-arrays` and `hicpp-no-assembler`. Includes an update of `hicpp-avoid-goto` to look like other aliased checks. References: * avoid-c-arrays Commit: 2634bd59
-
Arthur Eubanks authored
This reverts commit 2fd343e5. Breaks building aarch64 builtins, see https://reviews.llvm.org/D155245.
-
Arthur Eubanks authored
This reverts commit cfd0f41f. Causes crashes, see https://github.com/llvm/llvm-project/commit/cfd0f41f4effb5d31654dcb28c1a577c152ee23b.
-
Brad Smith authored
-
Jorge Gorbe Moya authored
-
Vitaly Buka authored
-
Cyndy Ishida authored
Merge allows a user to merge different files (tbds for now or dylibs in the future) to emit out a single tbd with all input contents. This does require that all inputs represent the same library.
-
Philip Reames authored
If we are using entirely vslide1downs to initialize an otherwise undef vector, we end up with an implicit_def as the source of the first vslide1down. This register has to be allocated, and creates false dependencies with surrounding code. Instead, start our sequence with a vmv.v.x in the hopes of creating a dependency breaking idiom. Unfortunately, it's not clear this will actually work as due to the VL=0 special case for T.A. the hardware has to work pretty hard to recognize that the vmv.v.x actually has no source dependence. I don't think we can reasonable expect all hardware to have optimized this case, but I also don't see any downside in prefering it.
-
Rahman Lavaee authored
The fields are still kept as public for now since our tooling accesses them. Will change them to private visibility in a later patch.
-
Yingwei Zheng authored
This patch handles `poison` elements of non-splat vectors in `computeKnownBits`. It addresses test changes after I delete the duplicate logic in https://github.com/llvm/llvm-project/pull/72535. See also @nikic's comment: https://github.com/llvm/llvm-project/pull/72535#pullrequestreview-1736991557
-
michaelrj-google authored
Currently the only way to add or remove entrypoints is to modify the entrypoints.txt file for the current target. This isn't ideal since a user would have to carry a diff for this file when updating their checkout. This patch adds a basic mechanism to allow the user to remove entrypoints without modifying the repository.
-
Louis Dionne authored
We intend to remove the base specialization in LLVM 19, not LLVM 18. We simply forgot to update the deprecation message accordingly.
-
Vitaly Buka authored
-
erichkeane authored
Now that the `parallel` support has landed, add the other 'trivial' to implement ones that don't require any additional work other than adding them to the StringSwitch.
-
Vitaly Buka authored
Reviewers: thurstond, kstoimenov Reviewed By: thurstond, kstoimenov Pull Request: https://github.com/llvm/llvm-project/pull/72686
-
Valentin Clement authored
-
Erich Keane authored
As the first real parsing effort for the OpenACC implementation effort, this implements the parsing for first construct/directive name. This does not do any semantic analysis, nor any of the clauses. Those will come in a future patch. For the time being, we warn when we hit a point that we don't implement the parsing for either of these situations.
-
Yinying Li authored
Remove unused functions in parser.
-
Jon Roelofs authored
This showed up when simplifying some large testcase, where the cfi directives became out of sync with the proc's they enclose. rdar://111459507 Differential revision: https://reviews.llvm.org/D155245 This reverts commit 4172fcc1.
-
Youngsuk Kim authored
Opaque ptr cleanup effort (NFC)
-
Greg Clayton authored
llvm-gsymutil allows address ranges to overlap. There was a bug where if we had debug info for a function with a range like [0x100-0x200) and a symbol at the same start address yet with a larger range like [0x100-0x300), we would randomly get either only information from the first or second entry. This could cause lookups to fail due to the way the binary search worked. This patch makes sure that when lookups happen we find the first address table entry that can match an address, and also ensures that we always select the first FunctionInfo that could match. FunctionInfo entries are sorted such that the most debug info rich entries come first. And if we have two ranges that have the same start address, the smaller range comes first and the larger one comes next. This patch also adds the ability to iterate over all function infos with the same start address to always find a range that contains the address. Added a unit test to test this functionality that failed prior to this fix and now succeeds. Also fix an issue when dumping an entire GSYM file that has duplicate address entries where it used to always print out the binary search match for the FunctionInfo, not the actual data for the address index.
-
Jonas Devlieghere authored
This function is never used, neither here nor downstream in the Swift fork. As far as I can tell, the same is true for the corresponding eErrorTypeMachKernel but as that's part of the SB API we cannot remove that.
-
Jon Roelofs authored
This reverts commit a4051932. It broke: lld/test/COFF/gc-dwarf-eh.s
-
Valery Dmitriev authored
-
Peiming Liu authored
-