- Nov 07, 2023
-
-
Phoebe Wang authored
-
Aart Bik authored
also minor edits in other GPU check tests
-
Noah Goldstein authored
Now that `align_{up,down}` use `llvm.ptrmask` (as of #71238), the assume doesn't preserve any information that is not still easily re-computable. Closes #71295 -
Chuanqi Xu authored
As the title suggested.
-
Aiden Grossman authored
Before this patch, the github automation script would fail when trying to escape the text of a PR/issue description that was empty as the Github library returns None instead of an empty string in those scenarios. This patch special cases this and makes the escape function return an empty string when given a value of None.
-
Aiden Grossman authored
This patch removes the AAEval legacy pass and associated plumbing. This pass was migrated over to the new pass manager about 11 years ago at this point and there are currently no in-tree users of the legacy pass, so it's essentially just dead code and is completely untested.
-
Michael Buch authored
This is a newly added test which XPASSes on Linux
-
Amara Emerson authored
We don't support these correctly since we don't yet have FP types. AMDGPU tests were silently miscompiling bf16 as if they were fp16.
-
Michael Buch authored
This failed on the public LLDB matrix build bots on Clang versions < 9.0: ``` ====================================================================== FAIL: test_base_class_ptr (TestVTableValue.TestVTableValue) ---------------------------------------------------------------------- Traceback (most recent call last): File "lldb/test/API/functionalities/vtable/TestVTableValue.py", line 90, in test_base_class_ptr self.assertEquals(shape_ptr_vtable.GetNumChildren(), 5) AssertionError: 6 != 5 ``` -
Jie Fu authored
/llvm-project/clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp:33:28: error: unused variable 'key' [-Werror,-Wunused-variable] static llvm::AnalysisKey key; ^ 1 error generated. -
Michael Buch authored
Tests that LLDB can find inline static data members. Relies on the debug-info change in: https://github.com/llvm/llvm-project/pull/70639
-
Michael Buch authored
Reland "[lldb][DWARFASTParserClang] Fetch constant value from variable defintion if available (#71004)" https://github.com/llvm/llvm-project/pull/70639 proposes moving the `DW_AT_const_value` on inline static members from the declaration DIE to the definition DIE. This patch makes sure the LLDB's expression evaluator can continue to support static initialisers even if the declaration doesn't have a `DW_AT_const_value` anymore. Previously the expression evaluator would find the constant for a VarDecl from its declaration `DW_TAG_member` DIE. In cases where the initialiser was specified out-of-class, LLDB could find it during symbol resolution. However, neither of those will work for constants, since we don't have a constant attribute on the declaration anymore and we don't have constants in the symbol table. **Testing** * If https://github.com/llvm/llvm-project/pull/70639 were to land without this patch then most of the `TestConstStaticIntegralMember.py` would start failing
-
Michael Buch authored
Reland "clang][DebugInfo] Emit global variable definitions for static data members with constant initializers (#70639)" When an LLDB user asks for the value of a static data member, LLDB starts by searching the Names accelerator table for the corresponding variable definition DIE. For static data members with out-of-class definitions that works fine, because those get represented as global variables with a location and making them eligible to be added to the Names table. However, in-class definitions won’t get indexed because we usually don't emit global variables for them. So in DWARF we end up with a single `DW_TAG_member` that usually holds the constant initializer. But we don't get a corresponding CU-level `DW_TAG_variable` like we do for out-of-class definitions. To make it more convenient for debuggers to get to the value of inline static data members, this patch makes sure we emit definitions for static variables with constant initializers the same way we do for other static variables. This also aligns Clang closer to GCC, which produces CU-level definitions for inline statics and also emits these into `.debug_pubnames`. The implementation keeps track of newly created static data members. Then in `CGDebugInfo::finalize`, we emit a global `DW_TAG_variable` with a `DW_AT_const_value` for any of those declarations that didn't end up with a definition in the `DeclCache`. The newly emitted `DW_TAG_variable` will look as follows: ``` 0x0000007b: DW_TAG_structure_type DW_AT_calling_convention (DW_CC_pass_by_value) DW_AT_name ("Foo") ... 0x0000008d: DW_TAG_member DW_AT_name ("i") DW_AT_type (0x00000062 "const int") DW_AT_external (true) DW_AT_declaration (true) DW_AT_const_value (4) Newly added vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv 0x0000009a: DW_TAG_variable DW_AT_specification (0x0000008d "i") DW_AT_const_value (4) DW_AT_linkage_name ("_ZN2t2IiE1iIfEE") ``` This patch also drops the `DW_AT_const_value` off of the declaration since we now always have it on the definition. This ensures that the `DWARFParallelLinker` can type-merge class with static members where we couldn't attach the constant on the declaration in some CUs. -
William Moses authored
-
Philip Reames authored
zext nneg was recently added to the IR in #67982. This patch teaches demanded bits and known bits about the semantics of the instruction, and adds a couple of test cases to illustrate basic functionality.
-
Shraiysh authored
This patch adds a semantic check for the following: ``` If a list item is a procedure name, it must not be a generic name, procedure pointer, entry name, or statement function name. ```
-
Amara Emerson authored
-
Shafik Yaghmour authored
Reverts llvm/llvm-project#71435 This is failing on some build bots e.g.: https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/62315/consoleFull#-3939952849ba4694-19c4-4d7e-bec5-911270d8a58c
-
Shafik Yaghmour authored
As noted in this bug report: https://github.com/llvm/llvm-project/issues/37647 Due to this clang bug we added the template keyword in Redeclarable.h. The bug has been fixed since then, so removing it.
-
Valentin Clement (バレンタイン クレメン) authored
Allow position of the acc routine in the implicit part.
-
Valentin Clement (バレンタイン クレメン) authored
When the acc routine directive was in an interface block in a subroutine, the routine information was attached to the wrong subroutine. This patch fixes this be retrieving the subroutine name in the interface.
-
LiqinWeng authored
This patch mainly solves the problem of dead PHI on UnaryOperator
-
Youngsuk Kim authored
Opaque ptr cleanup effort (NFC).
-
Quinn Dawkins authored
This handles `vector.transfer_read`, `vector.transfer_write`, and `vector.constant_mask`. The unit dims are only relevant for masks created by `create_mask` and `constant_mask` if the mask size for the unit dim is non-one, in which case all subsequent sizes must also be zero. From the perspective of the vector transfers, however, these unit dims can just be dropped directly.
-
Jan Svoboda authored
After #70144 Clang started resolving module maps even for `__has_include()` expressions. This had the unintended consequence of emitting diagnostics around header misuse. These don't make sense if you actually don't bring contents of the header into the importer, so should be skipped for `__has_include()`. This patch moves emission of these diagnostics out of `Preprocessor::LookupFile()` up into `Preprocessor::LookupHeaderIncludeOrImport()`.
-
Aart Bik authored
Fills in the missing cases for direct IR codegen. Note that non-permutation handling is still TBD.
-
Charlie Barto authored
in https://github.com/llvm/llvm-project/pull/69625 @strega-nil added cdecl to a huge number of sanitizer interface declarations. It looks like she was racing against @kennyyu adding a tsan interface function. I noticed this when merging in the latest changes from llvm/main and corrected it. Co-authored-by:
Charlie Barto <Charles.Barto@microsoft.com>
-
Walter Erquinigo authored
This was causing some process to wrongfully be handled by ProcessTrace. The only place this was being used is in the intel pt plugin, but it doesn't even build anymore, so I'm sure no one is using it. -
Valentin Clement (バレンタイン クレメン) authored
The value for a var in an equivalence is represented by a `fir.ptr`. Support this type in the recipe creation.
-
Han-Chung Wang authored
We are able to vectorize them in linalg.generic form. We just need to relax the condition, so it can also vectorize named ops.
-
lntue authored
[libc][math] Add min/max/min_denorm/max_denorm constants to FPBits and clean up its constants return types. (#71298)
-
Shraiysh authored
This patch adds the following semantic check for target update construct. ``` A list item can only appear in a to or from clause, but not in both. ```
-
Maksim Panchenko authored
-
Jan Svoboda authored
-
Valentin Clement (バレンタイン クレメン) authored
Putting a type-bound procedure in a data clause was crashing the lowering. Issue a proper semantic error in this case.
-
Slava Zakharin authored
In cases like `copy(array(N))` it is still useful to represent the data operand uniformly with `copy(array(N:N))`. This change generates data bounds even if it is not an array section with the triplets. The lower and the upper bounds are the same and the extent is one in this case.
-
Jan Svoboda authored
This fixes a typo ("SLocEntry's" -> "SLocEntries"), fixes capitalization ("Sloc" -> "SLoc") and adds extra information (capacity in bytes of `LoadedSLocEntryTable`). -
Valentin Clement authored
-
Maksim Panchenko authored
When we need to attach EH label to an instruction, we can now use Label annotation instead of EHLabel pseudo instruction.
-
Petr Hosek authored
We set LLVM_ENABLE_ASSERTIONS in some builds which is now translated to LIBCXX_HARDENING_MODE=safe, but our codebase is not yet clean and we're getting assertion failures.
-