- Feb 28, 2022
-
-
Adrian Kuegel authored
-
Sander de Smalen authored
This patch addresses @paulwalker-arm's comment on D117900 to only update/write the by-ref operands iff the function returns true. It also handles a few more cases where a series of added offsets can be folded into the base pointer, rather than just looking at a single offset. Reviewed By: paulwalker-arm Differential Revision: https://reviews.llvm.org/D119728
-
David Spickett authored
These are failing on our silent bot: https://lab.llvm.org/staging/#/builders/162/builds/358 $ <run cmd> main foo bar baz SanitizerCoverage: ./sanitizer_coverage_trace_pc_guard-dso.cpp.tmp.2122517.sancov: 2 PCs written SanitizerCoverage: ./sanitizer_coverage_trace_pc_guard-dso.cpp.tmp_2.so.2122517.sancov: 1 PCs written SanitizerCoverage: ./sanitizer_coverage_trace_pc_guard-dso.cpp.tmp_1.so.2122517.sancov: 1 PCs written $ <sancov cmd> ERROR: Coverage points in binary and .sancov file do not match. Also reproduces if you build for Thumb on v8 hardware. Doesn't fail when built with Arm only code so I guess the Thumb mode bit in the PCs might be the issue.
-
gysit authored
Improve the LinalgOp verification to ensure the iterator types is known. Previously, unknown iterator types have been ignored without warning, which can lead to confusing bugs. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D120649
-
Florian Hahn authored
Exit values of vector inductions are generated completely independent of the induction recipes. Consider them for removal, if they are not used in loop. This fixes a crash exposed by 49b23f45.
-
David Green authored
The Cortex-A55 scheduling model is used for -mcpu=generic, meaning it can have a wider effect than just the A55. The changes to the A55 scheduling model seems to have caused performance regressions on Cortex-A510 device which have latencies closer to the original and different forwarding paths. This partially reverts the changes from D117003, at least until we can do something to improve Cortex-A510. According to my results, this improves the A510 results without altering the A55 very much.
-
Luis Penagos authored
[clang-format] Treat && followed by noexcept operator as a binary operator inside template arguments Fixes https://github.com/llvm/llvm-project/issues/44544. Reviewed By: curdeius, MyDeveloperDay Differential Revision: https://reviews.llvm.org/D120445
-
Adrian Kuegel authored
-
Florian Hahn authored
Add test with a induction phi that is not used in the vector loop, but by an lcssa phi in the loop exit.
-
Endre Fülöp authored
Add more functions as taint sources to GenericTaintChecker. Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D120236
-
LLVM GN Syncbot authored
-
Nikita Popov authored
This should no longer be necessary now that we canonicalize to intrinsics. Might not be strictly NFC due to worklist order.
-
esmeyi authored
Summary: This is an initial implementation of lvm-objcopy for XCOFF32. Currently only supports simple copying, op-passthrough to follow. Reviewed By: jhenderson, shchenz Differential Revision: https://reviews.llvm.org/D97656
-
Nikita Popov authored
This isn't necessary anymore, now that we canonicalize SPF min/max to intrinsics. Might not be strictly NFC due to worklist order changes.
-
Florian Hahn authored
Also add a run line to check interleaving only. This test covers the PPC buildbot failures caused by 49b23f45.
-
Nikita Popov authored
Only call it for intrinsic min/max. The moved implementation is unchanged apart from the one-use check: It is now hardcoded to one-use, without the two-use special case for SPF.
-
Nikita Popov authored
As SPF min/max is canonicalized to intrinsics before this point, this change should be entirely NFC.
-
Nikita Popov authored
This happens after SPF -> intrinsic canonicalization, and as such should be entirely NFC.
-
Nikita Popov authored
SPF integer min/max is canonicalized to min/max intrinsics before this code is reached, so this should be entirely NFC.
-
Mehdi Amini authored
-
Shraiysh Vaishay authored
This patch removes the builders for `omp.wsloop` operation that aren't specifically needed anywhere. We can add them later if the need arises. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D120533
-
Iain Sandoe authored
When we are building modules, there are cases where the only way to determine validity of access is by comparing primary interface names. This is because we need to be able to associate a primary interface name with an imported partition, but before the primary interface module is complete - so that textual comparison is necessary. If this turns out to be needed many times, we could cache the result, but it seems unlikely to be significant (at this time); cases with very many imported partitions would seem unusual. Differential Revision: https://reviews.llvm.org/D118598
-
Fangrui Song authored
-
Fangrui Song authored
Surprisingly my lld executable is 1.5KiB smaller.
-
Fangrui Song authored
-
Alexander Belyaev authored
Differential Revision: https://reviews.llvm.org/D119415
-
Fangrui Song authored
Simplify code and make the heavyweight operation to the call site so that it is clearer how to improve the inefficient scheduling in the future.
-
Ilya Nozhkin authored
SetValueFromCString and SetData methods return false if register can't be written but they don't set a error message. It sometimes confuses callers of these methods because they try to get the error message in case of failure but Status::AsCString returns nullptr. For example, lldb-vscode crashes due to this bug if some register can't be written. It invokes SBError::GetCString in case of error and doesn't check whether the result is nullptr (see request_setVariable implementation in lldb-vscode.cpp for more info). Reviewed By: labath, clayborg Differential Revision: https://reviews.llvm.org/D120319
-
eric.tang authored
According to privileged spec version-20211203 Add the following hypervisor instructions: - HLV.B HLV.BU - HLV.H HLV.HU HLVX.HU - HLV.W HLV.WU HLVX.WU - HLV.D - HSV.B HSV.H HSV.W HSV.D Signed-off-by:eric.tang <eric.tang@starfivetech.com> Differential Revision: https://reviews.llvm.org/D117733
-
eric.tang authored
According to Privileged spec version-20211203 Add Supervisor Memory-Management Instructions: - SINVAL.VMA, SFENCE.W.INVAL, SFENCE.INVAL.IR Add Hypervisor Memory-Management Instructions: - HFENCE.VVMA, HFENCE.GVMA, HINVAL.VVMA, HINVAL.GVMA Signed-off-by:eric.tang <eric.tang@starfivetech.com> Differential Revision: https://reviews.llvm.org/D117654
-
Eric Tang authored
Not only some AMO instructions but also other instructions need to process (${gpr}) or 0(${gpr}), where the 0 is be silently ignored. This patch does some changes for general usage. Signed-off-by:Eric Tang <eric.tang@starfivetech.com> Differential Revision: https://reviews.llvm.org/D120017
-
Zi Xuan Wu authored
[Support] Fix the build errors because missing CSKYTargetParser.def in module.modulemap of 21bce900 Add textual header "Support/CSKYTargetParser.def" in module.modulemap. Build Failure: https://green.lab.llvm.org/green/job/lldb-cmake/41771
-
Zi Xuan Wu authored
Construct LLVM Support module about CSKY target parser and attribute parser. It refers CSKY ABIv2 and implementation of GNU binutils and GCC. https://github.com/c-sky/csky-doc/blob/master/C-SKY_V2_CPU_Applications_Binary_Interface_Standards_Manual.pdf Now we only support CSKY 800 series cpus and newer cpus in the future undering CSKYv2 ABI specification. There are 11 archs including ck801, ck802, ck803, ck803s, ck804, ck805, ck807, ck810, ck810v, ck860, ck860v. Every arch has base extensions, the cpus of that arch family have more extended extensions than base extensions. We need specify extended extensions for every cpu. Every extension has its enum value, name and related llvm feature string with +/-. Every enum value represents a bit of uint64_t integer. Differential Revision: https://reviews.llvm.org/D119917
-
Chenbing Zheng authored
In this patch, we add a more narrower exclusion for zeroext (srl x) -> srli (slli x), so that it provides an opportunity for the selection of sraiw. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D120467
-
Kai Luo authored
Let `archive-aix-libatomic` accept additional argument to customize name of output atomic library. Reviewed By: jsji Differential Revision: https://reviews.llvm.org/D120534
-
Todd Mortimer authored
-
Mehdi Amini authored
-
Fangrui Song authored
It's ld.lld specific and by convention we enforce the double-dash form to avoid collision with the short option -e (--entry).
-
Jessica Clarke authored
By failing to lex the token we end up both parsing it as a binary operator ourselves and parsing it as a unary operator when calling parseExpression on the RHS. For plus this is harmless but for minus this parses "foo - 4" as "foo - -4", effectively treating a top-level minus as a plus. Fixes https://github.com/llvm/llvm-project/issues/54105 Reviewed By: asb, MaskRay Differential Revision: https://reviews.llvm.org/D120635
-
Fangrui Song authored
-