- Apr 29, 2020
-
-
Hiroshi Yamauchi authored
Summary: - Distinguish between partial-profile and non-partial-profile sample PGO. - Add a flag for partial-profile sample PGO. - Tune the sample PGO cutoff. - No default behavior change (yet). Reviewers: davidxl Subscribers: eraman, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78949
-
Simon Pilgrim authored
This is currently enabled for Intel big cores from Sandy Bridge onward, as well as Atom, Silvermont, and KNL, due to 64-bit division being so slow on these cores. AMD cores can do this in hardware (use 32-bit division based on input operand width), so it's not a win there. But since the majority of x86 CPUs benefit from this optimization, and since the potential upside is significantly greater than the downside, we should enable this for the generic x86-64 target. Patch By: @atdt Reviewed By: @craig.topper, @RKSimon Differential Revision: https://reviews.llvm.org/D75567
-
Nico Weber authored
-
Victor Campos authored
Summary: AArch64's system register ERXTS_EL1 is present in the backend as a component of the Arm Reliability, Availability and Serviceability (RAS) extension. However, it has been removed from the specification before its final release. This patch removes the register. Reviewers: SjoerdMeijer, DavidSpickett Reviewed By: DavidSpickett Subscribers: DavidSpickett, kristof.beyls, hiraditya, danielkiss, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79007
-
Mircea Trofin authored
Reviewers: dblaikie, craig.topper, wmi Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79047
-
Simon Pilgrim authored
Revert rG5c4b4a62256876 "PseudoSourceValue.h - reduce GlobalValue.h include to forward declaration. NFC." Causes buildbot failures.
-
Jay Foad authored
-
Jay Foad authored
-
Simon Pilgrim authored
Fix MachineMemOperand.h implicit dependency on Type.h via PseudoSourceValue.h
-
Sam Parker authored
-
Sam Parker authored
-
Simon Pilgrim authored
The improvements to the x86 vector insert/extract element costs in D74976 resulted in the estimated costs for vector initialization and scalarization increasing higher than should be expected. This is particularly noticeable on pre-SSE4 targets where the available of legal INSERT_VECTOR_ELT ops is more limited. This patch does 2 things: 1 - it implements X86TTIImpl::getScalarizationOverhead to more accurately represent the typical costs of a ISD::BUILD_VECTOR pattern. 2 - it adds a DemandedElts mask to getScalarizationOverhead to permit the SLP's BoUpSLP::getGatherCost to be rewritten to use it directly instead of accumulating raw vector insertion costs. This fixes PR45418 where a v4i8 (zext'd to v4i32) was no longer vectorizing. A future patch should extend X86TTIImpl::getScalarizationOverhead to tweak the EXTRACT_VECTOR_ELT scalarization costs as well. Reviewed By: @craig.topper Differential Revision: https://reviews.llvm.org/D78216
-
Florian Hahn authored
The crash that caused the original revert has been fixed in a3c964a2. I also added a reduced version of the crash reproducer. This reverts the revert commit 2107af9c.
-
Florian Hahn authored
-
Jay Foad authored
-
Dmitri Gribenko authored
-
Craig Topper authored
-
David Blaikie authored
-
Chen Zheng authored
-
Xing GUO authored
This patch helps make the short options displayed in the help message be consistant with the description in https://llvm.org/docs/CommandGuide/dsymutil.html Reviewed By: JDevlieghere, aprantl Differential Revision: https://reviews.llvm.org/D78476
-
QingShan Zhang authored
Call getNegatedExpression(Cost) and check the Cost to make the code more clear. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D78347
-
Nico Weber authored
The Python3 change relanded yet again, so merge it yet again. This reverts commit f0019cdc. This reverts commit 854a7db4.
-
Saleem Abdulrasool authored
This reverts commit 35edd704. Revert the revert and extend the patch further to account for the use of the `PYTHONINTERP_FOUND`.
-
LLVM GN Syncbot authored
-
Nico Weber authored
-
Nico Weber authored
This reverts commit cbaa74a0. The Py3 change got (mostly, except compiler-rt) reverted again.
-
David Blaikie authored
-
David Blaikie authored
-
Sterling Augustine authored
Summary: Certain dwarf information (like the compilation directory), are only accessible from the compile unit. Make it available for use. Subscribers: aprantl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79048
-
Eric Christopher authored
as it seems to be causing multiple people problems with running tests and building. This reverts commit c4c3883b.
-
Stanislav Mekhanoshin authored
It allows it not to crash and analyze 16 bit subregs if those appear in the instructions. At the same time it does not attempt to reassign these. It still can correctly identify register banks to let larger registers to be reassigned. More work will be needed here when real instructions will use these registers and more tests as well. Differential Revision: https://reviews.llvm.org/D78772
-
Sam McCall authored
This reverts commit faf2dce1.
-
Eric Christopher authored
This reverts commit ad38f4b3. As it broke building the unittests: .../sources/llvm-project/llvm/unittests/Support/Path.cpp:334:5: error: use of undeclared identifier 'set' set(Value); ^ 1 error generated.
-
Stanislav Mekhanoshin authored
These are only needed as VGPR counterpart. Differential Revision: https://reviews.llvm.org/D78597
-
Jessica Paquette authored
Add missing ifndef to make release builds happy. Example failure: http://lab.llvm.org:8011/builders/fuchsia-x86_64-linux/builds/4006/steps/ninja-build/logs/stdio
-
Craig Topper authored
[X86] Add PACK instructions to hasUndefRegUpdate so the BreakFalseDeps pass will reassign an undef second source to match the first source We generate PACK instructions with an undef second source when we are truncating from a 128-bit vector to something narrower and we don't care about the upper bits of the vector register. The register allocation process will always assign untied undef uses to xmm0. This creates a false dependency on xmm0. By adding these instructions to hasUndefRegUpdate, we can get the BreakFalseDeps pass to reassign the source to match the other input. Normally this interface is used for instructions that might need an xor inserted to break the dependency. But the pass also has a heuristic that tries to use the same register as other sources. That should always be possible for these instructions so we'll never trigger the xor dependency break. Differential Revision: https://reviews.llvm.org/D79032
-
- Apr 28, 2020
-
-
Stanislav Mekhanoshin authored
These are used in SReg_32 and when we start to use SGPR_LO16 there will be compaints that not all registers in RC support all subreg indexes. For now it is NFC. Unused regunits are reserved so that verifier does not complain about missing phys reg live-ins. Differential Revision: https://reviews.llvm.org/D78591
-
Jessica Paquette authored
Generalize the 16-bit FPR to 32-bit GPR logic to work for all cases where destination size is bigger than source size. Also fixed CheckCopy() always returning true instead of the result of isValidCopy(). Differential Revision: https://reviews.llvm.org/D77530 Patch by tambre (Raul Tambre)
-
Casey Carter authored
-
Vojtěch Štěpančík authored
Summary: This patch adds a function that is similar to `llvm::sys::path::home_directory`, but provides access to the system cache directory. For Windows, that is %LOCALAPPDATA%, and applications should put their files under %LOCALAPPDATA%\Organization\Product\. For *nixes, it adheres to the XDG Base Directory Specification, so it first looks at the XDG_CACHE_HOME environment variable and falls back to ~/.cache/. Subsequently, the Clangd Index storage leverages this new API to put index files somewhere else than the users home directory. Fixes https://github.com/clangd/clangd/issues/341 Reviewers: sammccall, chandlerc, Bigcheese Reviewed By: sammccall Subscribers: hiraditya, ilya-biryukov, MaskRay, jkorous, dexonsmith, arphaman, kadircet, ormris, usaxena95, cfe-commits, llvm-commits Tags: #clang-tools-extra, #clang, #llvm Differential Revision: https://reviews.llvm.org/D78501
-