- Dec 07, 2022
-
-
Craig Topper authored
-
Hongtao Yu authored
Adding a switch to drop profile symbol list during merging AutoFDO profiles. This is needed to minimize the impact on default profiles when the profile symbol list is enabled for the source input profiles. The symbol list is quite large and could potentially slow down the compiler. Reviewed By: davidxl, wenlei Differential Revision: https://reviews.llvm.org/D139486
-
Jakub Kuderski authored
Do not allow formats for non-scalar vector operands. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D139495
-
Yeting Kuo authored
The patch made VectorLegalizer expand ISD::VP_FSHL and ISD::VP_FSHR to achieve the codegen. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D138379
-
Kazu Hirata authored
These source files no longer use None, so they do not need to include None.h. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
STLForwardCompat.h defines remove_cvref and remove_cvref_t. These source files use neither one of those.
-
zhanglimin authored
This patch fixes tests masked.c and master.c on LoongArch. Reviewed By: SixWeining, protze.joachim Differential Revision: https://reviews.llvm.org/D138785
-
Douglas Yung authored
This reverts commit 5951b0bb. This is causing 24 test failures on the PS4 linux bot: https://lab.llvm.org/buildbot/#/builders/139/builds/32263
-
Chuanqi Xu authored
LValuePathSerializationHelper's type properly Close https://github.com/llvm/llvm-project/issues/58716. Tested with libcxx's modules build. When we read the type of LValuePathSerializationHelper, we didn't read the correct type. We read the element type as its name suggests. But the problem here is that it looks like that both the usage and serialization use its type as the top level type. So here is the mismatch. Actually, the type of LValuePathSerializationHelper is never used after Deserialization without the assertion. So it doesn't matter for the release users. And this patch shouldn't change the behavior too. Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D139406
-
Vincent Lee authored
I'll be making changes to the ObjC implementation (bug fix) in a later change, and I noticed that this test isn't being tested at all. Fix that up here separately so further changes are easier to differentiate. Reviewed By: #lld-macho, thakis, int3 Differential Revision: https://reviews.llvm.org/D139396
-
Mahesh Ravishankar authored
This just adds a test. With CSE of single block ops, and other previously landed changes, this works at HEAD. Just adding a test that triggered this line of work that I missed adding. Differential Revision: https://reviews.llvm.org/D139385
-
liqinweng authored
Reviewed By: benshi001 Differential Revision: https://reviews.llvm.org/D134519
-
liqinweng authored
Reviewed By: Mogball Differential Revision: https://reviews.llvm.org/D139399
-
Ryan Prichard authored
Bionic's sys/user.h declares a "struct user". The header tends to be included, and when it is, it conflicts with "namespace user". Rename user to User. Differential Revision: https://reviews.llvm.org/D139380
-
Jakub Kuderski authored
This covers `SDotAccSat`, `SUDotAccSat`, and `UDotAccSat`. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D139243
-
Jakub Kuderski authored
This covers `SDot`, `SUDot`, and `UDot`. The `*AccSat` version will be added in a follow-up revision. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D139242
-
Michael Maitland authored
Since changes to account for LMUL in scheduler model existed over patches, we had to keep both LMUL specific and all LMUL classes around. Now that only the LMUL specific classes are used, we can remove the old ones.
-
Michael Maitland authored
It is likley that subtargets act differently for a vector load store instructions based on the LMUL. This patch creates seperate SchedRead, SchedWrite, WriteRes, ReadAdvance for each relevant LMUL. Differential Revision: https://reviews.llvm.org/D137429
-
Michael Maitland authored
It is likley that subtargets act differently for vector fixed-point arithmetic instructions based on the LMUL. This patch creates seperate SchedRead, SchedWrite, WriteRes, ReadAdvance for each relevant LMUL. Differential Revision: https://reviews.llvm.org/D137428
-
Roman Lebedev authored
-
Gregory Alfonso authored
Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D139451
-
Fangrui Song authored
This reverts commit f4519578. The change is wrong. segname may not be NUL-terminated if it has 16 bytes.
-
Gregory Alfonso authored
Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D139449
-
Florian Hahn authored
Update the sort order to make sure that comesBefore is never used from conditional facts, which are instructions but may use DFS numbers from different blocks. This fixes a crash in the added test on some platforms.
-
Craig Topper authored
We need a scratch GPR to increment the base pointer for each subsequent register. We currently reuse the input GPR for the base pointer without declaring it as a Def of the pseudo. We can't add it as a Def of the pseudo at creation time because it doesn't get register allocated. This was tried in D109405. Seems the only choice we have is to scavenge the GPR. This patch moves the expansion to eliminateFrameIndex where we can create virtual registers that will be scavenged. This also eliminates the extra operand for passing vlenb from frame lowering to expand pseudos. I need to do more testing on real world code, but wanted to get this up for early review. I hope this will fix the issue reported in D123394, but I haven't checked yet. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D139169
-
Aart Bik authored
Reviewed By: Peiming Differential Revision: https://reviews.llvm.org/D139473
-
Gregory Alfonso authored
Make the types consistent with each other, and return size_t instead of a long int. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D126121
-
Paul Robinson authored
Although it should base the check on host, not target, if possible. Part of the project to eliminate special handling for triples in lit expressions.
-
Paul Robinson authored
Part of the project to eliminate special handling for triples in lit expressions.
-
Hanhan Wang authored
It introduces a pattern that swaps `linalg.generic + tensor.pack` to `tensor.pack + linalg.generic`. It requires all the iteration types being parallel; the indexing map of output operand is identiy. They can all be relaxed in the future. The user can decide whether the propagation should be applied or not by passing a control function. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D138882
-
Craig Topper authored
We know the input is not zero so we can simplify the generated code.
-
Craig Topper authored
We should be able to rely on RVO here.
-
David Blaikie authored
Some buildbots are failing in Clang and LLDB tests. (I guess the LLDB failure is due to the explicit C language tests in DwarfUnit.cpp that need to be updated - not sure what the Clang failures are about, they seem to be still emitting C99 when we're expecting C11 and I checked those tests pass... maybe systems with a different C language version default?) This reverts commit 3c312e48.
-
Amir Ayupov authored
Reviewed By: maksfb, #bolt Differential Revision: https://reviews.llvm.org/D139260
-
Amir Ayupov authored
LLVM started switching from `llvm::Optional` to `std::optional`: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716/11 Reviewed By: #bolt, maksfb Differential Revision: https://reviews.llvm.org/D139259
-
Shilei Tian authored
This patch uses refactors CMake files related to `PluginInterface` in `plugins-nextgen` to handle LLVM dependences in a better way. Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D139371
-
Aart Bik authored
Reviewed By: Peiming Differential Revision: https://reviews.llvm.org/D139456
-
Owen Pan authored
This assertion failure was introduced in 9ed2e68c and is manifested when both RemoveBracesLLVM and MacroBlockBegin are set. Fixes #59335. Differential Revision: https://reviews.llvm.org/D139281
-
Jordan Rupprecht authored
Note: this header already has a dep on MC headers via MCContext.
-
serge-sans-paille authored
This is a recommit of 8ae18303, with a few cleanups. This avoids implicit conversion to StringRef at several points, which in turns avoid redundant calls to strlen. As a side effect, this greatly simplifies the implementation of StrCmpOptionNameIgnoreCase. It also eventually gives a consistent, humble speedup in compilation time (timing updated since original commit). https://llvm-compile-time-tracker.com/compare.php?from=de4b6a1bc64db33643f001ad45fae7b92b4a4688&to=c23a93d1292052b4be2fbe8c586fa31143d0c7ed&stat=instructions:u Differential Revision: https://reviews.llvm.org/D139274
-