- Nov 02, 2022
-
-
Mark de Wever authored
Fixes https://llvm.org/PR58315 Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D137017
-
Mark de Wever authored
No code changes, but only increased the range in the tests. Completes: - LWG3273. Specify weekday_indexed to range of [0, 7] Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D137015
-
Erich Keane authored
Based on discussion on the core reflector, it was made clear that a concept that depends on itself should be a hard error, not a constraint failure. This patch implements a stack of constraint-checks-in-progress to make sure we quit, rather than hitting stack-exhaustion. Note that we DO need to be careful to make sure we still check constraints properly that are caused by a previous constraint, but not derived from (such as when a check causes us to check special member function generation), so we cannot use the existing logic to see if this is being instantiated. This fixes https://github.com/llvm/llvm-project/issues/44304 and https://github.com/llvm/llvm-project/issues/50891. Differential Revision: https://reviews.llvm.org/D136975
-
Sanjay Patel authored
Most folds based on these matchers already check to make sure the condition type is the same as the select type, and it seems unlikely that a fold would want to handle a scalar-select-of-vectors pattern (there are no regression tests for it). This is a preliminary step for fixing #issue 58552. The fold(s) responsible for that crash (D101807, D101375) don't use the matchers yet, but they probably should. Differential Revision: https://reviews.llvm.org/D137170
-
Erich Keane authored
As reported in https://github.com/llvm/llvm-project/issues/49192, we did a pretty poor job diagnosing cases where someone forgot 'auto', a nd is probably in the middle of a variable declaration. This patch makes us properly diagnose in cases where the next token is a reference, or CVR qualifier.
-
Troy Johnson authored
Correct D135801 to be case insensitive. Differential Revision: https://reviews.llvm.org/D137179
-
Simon Pilgrim authored
Replaces hard coded uses of WriteShuffleX/WriteVPMOV256 for VPMOVSX/VPMOVZX vector extension instructions
-
Roy Sundahl authored
Add new calls introduced in https://reviews.llvm.org/D136197 to weak_symbols.txt. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D137178
-
Aart Bik authored
Reviewed By: Peiming Differential Revision: https://reviews.llvm.org/D137177
-
Matt Arsenault authored
Fixes at least one null dereference.
-
Matt Arsenault authored
Fixes null dereference when printing globals
-
Florian Hahn authored
Otherwise there may be stale values left over in the cache, causing a SCEV verification failure. Fixes #58702.
-
Caroline Concatto authored
This patch replaces: CHECK, INST by CHECK-INST the comma(,) by dash line(-) in the binary encoding The mistake was introduced when we had to use pintVectoList and the test's automated update was not checking that a comma should not replace these parts of the test.
-
Peter Klausler authored
When a floating-point exception occurs while folding an exponentiation operation with a host library at compilation time, the warning message should not say that it was an "intrinsic function". Differential Revision: https://reviews.llvm.org/D137030
-
Jakub Kuderski authored
This has two lowering path, one for each extended instructions set: - to OpenGL's `RoundEven`, - to OpenCL's `rint`. Implement those two ops and add minimal tests. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D137171
-
Philip Reames authored
This adds an initial bit of policy around inclusion of vendor extensions. My intention here is to leave all of the actual decision making to a case by case decision on the regular sync calls, but to spell out some of the pieces we've discussed and (I think) have general agreement on. Differential Revision: https://reviews.llvm.org/D136968
-
Philip Reames authored
This is a follow up to D136470 which extends the same scheme used there to ComputeNumSignBits and isKnownNonNull. As a reminder, for scalable vectors we track a single bit which is implicitly broadcast to all lanes. We do not know how many lanes there are statically, and thus have to be conservative along paths which require exact sizes. Differential Revision: https://reviews.llvm.org/D137046
-
Arthur Eubanks authored
Undoes a lot of the code added in D135169 to piggyback off of the enum logic in `TypeSystemClang::SetIntegerInitializerForVariable()`. Fixes #58383. Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D137045
-
Nikita Popov authored
Conversion was performed using https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 plus manual (but uninteresting) fixup.
-
Dominik Adamski authored
simd aligned construct is represented as pair of variable which needs to be aligned and corresponding alignment value. Added parser, printer and verifier of aligned clause. MLIR tests were updated to test correctness of MLIR definition of aligned clause. Differential Revision: https://reviews.llvm.org/D135865 Reviewed By: kiranchandramohan
-
Sanjay Patel authored
-
Nikita Popov authored
This reverts commit 6de41e6d. Missed a unit test affected by this change, revert for now.
-
Nikita Popov authored
-
- Nov 01, 2022
-
-
Dhruva Chakrabarti authored
Revert "[OpenMP] [OMPT] [2/8] Implemented a connector for communication of OMPT callbacks between libraries." This reverts commit f94c2679.
-
Adrian Tong authored
This helps simplify a USHR+ORR into USRA on AArch64 Differential Revision: https://reviews.llvm.org/D137108
-
Jeffrey Tan authored
https://reviews.llvm.org/D127702 adds the initial logpoints support in lldb-vscode. This patch further improves it by: 1. Adding a newline at the end of each log message 2. Support most of the format specifiers like \t, \n, \x etc.. The implementation is borrowed from FormatEntity::ParseInternal(). Future patch should merge these two implementations. Differential Revision: https://reviews.llvm.org/D136697
-
Nikita Popov authored
Resolve the TODO about incorrect getCompare() behavior. This can be made more precise (e.g. by materializing the undef value and performing constant folding on it), but for now just return an unknown result.
-
Krzysztof Parzyszek authored
In llvm/lib/Target/Hexagon/HexagonDepMapAsm2Intrin.td we use "HasV66" for HVX v66 intrinsics. We should be using "UseHVXV66" instead, since HVX has its own versioning.
-
Adrian Tong authored
-
Lei Zhang authored
This is useful for converting to SPIR-V, where we'd like to have memref of vector element types. Reviewed By: ThomasRaoux, bondhugula Differential Revision: https://reviews.llvm.org/D137143
-
Simon Pilgrim authored
These broadcast from mask predicate registers, and don't load from memory Noticed while reviewing D137163
-
Nikita Popov authored
-
Yonghong Song authored
For the following program, $ cat t.c struct t { int (__attribute__((btf_type_tag("rcu"))) *f)(); int a; }; int foo(struct t *arg) { return arg->a; } Compiling with 'clang -g -O2 -S t.c' will cause a failure like below: clang: /home/yhs/work/llvm-project/clang/lib/Sema/SemaType.cpp:6391: void {anonymous}::DeclaratorLocFiller::VisitParenTypeLoc(clang::ParenTypeLoc): Assertion `Chunk.Kind == DeclaratorChunk::Paren' failed. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: ...... #5 0x00007f89e4280ea5 abort (/lib64/libc.so.6+0x21ea5) #6 0x00007f89e4280d79 _nl_load_domain.cold.0 (/lib64/libc.so.6+0x21d79) #7 0x00007f89e42a6456 (/lib64/libc.so.6+0x47456) #8 0x00000000045c2596 GetTypeSourceInfoForDeclarator((anonymous namespace)::TypeProcessingState&, clang::QualType, clang::TypeSourceInfo*) SemaType.cpp:0:0 #9 0x00000000045ccfa5 GetFullTypeForDeclarator((anonymous namespace)::TypeProcessingState&, clang::QualType, clang::TypeSourceInfo*) SemaType.cpp:0:0 ...... The reason of the failure is due to the mismatch of TypeLoc and D.getTypeObject().Kind. For example, the TypeLoc is BTFTagAttributedType 0x88614e0 'int btf_type_tag(rcu)()' sugar |-ParenType 0x8861480 'int ()' sugar | `-FunctionNoProtoType 0x8861450 'int ()' cdecl | `-BuiltinType 0x87fd500 'int' while corresponding D.getTypeObject().Kind points to DeclaratorChunk::Paren, and this will cause later assertion. To fix the issue, similar to AttributedTypeLoc, let us skip BTFTagAttributedTypeLoc in GetTypeSourceInfoForDeclarator(). Differential Revision: https://reviews.llvm.org/D136807 -
Sanjay Patel authored
This set of folds keeps growing, and it contains bugs like issue #58552, so make it easier to spot those via backtrace.
-
David Green authored
-
Archibald Elliott authored
When the host's target triple ends in `-windows-msvc`, `%llc_dwarf` contains an explicit `-windows-gnu` triple which ensures that dwarf will be used. This is useful in target-independent tests, where no triple is specified, and no target-specific features are used. However, this is not compatible with target-dependent tests (such as those in llvm/test/DebugInfo/ARM), as the command-line triple will override the triple in the LLVM IR program, causing test issues on windows. This change switches these tests to use an explicit triple, so the tests test what was expected, and there is no flakiness on windows. Fixes #58053 Differential Revision: https://reviews.llvm.org/D136066
-
Aaron Ballman authored
This function doesn't return anything these days.
-
Florian Hahn authored
At the moment, the implementation requires that the outer GEP has a single index, the inner GEP can have an arbitrary indices, because the general `decompose` helper is used.
-
David Sherwood authored
This patch adds the assembly/disassembly for the following predicate-as-counter instructions: whilelt: While incrementing signed scalar less than scalar whilele: While incrementing signed scalar less than or equal to scalar whilegt: While incrementing signed scalar greater than scalar whilege: While incrementing signed scalar greater than or equal to scalar whilelo: While incrementing unsigned scalar lower than scalar whilels: While incrementing unsigned scalar lower or same as scalar whilehs: While decrementing unsigned scalar higher or same as scalar whilehi: While decrementing unsigned scalar higher than scalar The reference can be found here: https://developer.arm.com/documentation/ddi0602/2022-09 Differential Revision: https://reviews.llvm.org/D136750
-
Florian Hahn authored
-