- Mar 24, 2021
-
-
David Zarzycki authored
This reverts commit dd391e1e. This patch causes 17 LLDB test regressions on Fedora 33 (x86-64).
-
Florian Hahn authored
We know if the loop contains FP instructions preventing vectorization after we are done with legality checks. This patch updates the code the check for un-vectorizable FP operations earlier, to avoid unnecessarily running the cost model and picking a vectorization factor. It also makes the code more direct and moves the check to a position where similar checks are done. I might be missing something, but I don't see any reason to handle this check differently to other, similar checks. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D98633
-
Jan Svoboda authored
This patch documents how `ModuleDepCollector{,PP}` work and what their members store. Also renames somewhat vague `MainDeps` to `FileDeps` and `Deps` to `ModularDeps`. Depends on D98943. Reviewed By: Bigcheese Differential Revision: https://reviews.llvm.org/D98950 -
Jan Svoboda authored
This patch extracts the `ModuleName` and `ContextHash` members of `ClangModuleDep`, `FullDependencies` and `ModuleDeps` into a single struct `ModuleID`. This makes it easier to understand how the full dependency graph works. Reviewed By: Bigcheese, dexonsmith Differential Revision: https://reviews.llvm.org/D98943
-
Andrew Savonichev authored
This is a follow-up for: D98604 [MCA] Ensure that writes occur in-order When instructions are aligned by the order of writes, they retire in-order naturally. There is no need for an RCU, so it is disabled. Differential Revision: https://reviews.llvm.org/D98628
-
Stefan Pintilie authored
In order to have the same option on power PC LLVM and power PC gcc the option will be changed from -mrop-protection to -mrop-protect. The feature will be off by default and turned on when the option is used. Reviewed By: lei, amyk Differential Revision: https://reviews.llvm.org/D99185
-
Gabor Marton authored
-
Ella Ma authored
Required by D83660. Test cases may want to use the host compiler to compile some mocks for the test case. This patch adds two substitutions `%host_cc` and `%host_cxx` to use the host compilers set via variable `CMAKE_C_COMPILER` and `CMAKE_CXX_COMPILER`. Patch by Ella Ma! Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D98918
-
Roman Lebedev authored
-
Vladislav Vinogradov authored
Use new `MemRefType::getMemorySpace` method with generic Attribute in cases, where there is no specific logic around the memory space. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D99154
-
Ta-Wei Tu authored
-
Ta-Wei Tu authored
The `InductionPHI` is not necessarily the increment instruction, as demonstrated in pr49571.ll. This patch removes the assertion and instead bails out from the `LoopFlatten` pass if that happens. This fixes https://bugs.llvm.org/show_bug.cgi?id=49571 Reviewed By: SjoerdMeijer Differential Revision: https://reviews.llvm.org/D99252
-
Ta-Wei Tu authored
Reviewed By: SjoerdMeijer, fhahn Differential Revision: https://reviews.llvm.org/D99251
-
Martin Storsjö authored
When building in MSVC mode (in release mode), the assert(false) don't make the end of the function unreachable, so add return statements to silence compiler warnings (treated as errors). Also change 'virtual' into 'override', which was requested in review, as these files require C++11. Differential Revision: https://reviews.llvm.org/D99214
-
Raphael Isemann authored
This got removed in 68bb51ac and this enabled the test on macOS (where it just causes lldb-server to crash). Re-adding the decorator to get the tests passing again.
-
Jason Molenda authored
I was playing around with main bin spec LC_NOTEs and noticed a small oversight in the parsing of user process corefile notes.
-
Nigel Perks authored
XCore default subtarget does not support 8-byte stack alignment. These failures can be seen on builder clang-xcore-ubuntu-20-x64 on staging buildbot. Differential Revision: https://reviews.llvm.org/D99092
-
Yvan Roux authored
Now that AArch64 mapping symbols are correctly handled by llvm-symbolizer this test can be re-enabled on that target.
-
Andy Wingo authored
This commit adds a full WasmTableType to MCSymbolWasm, differing from the current situation (just an ElemType) in that it additionally records a WasmLimits. We add support for specifying the limits in .S files also, via the following syntax variations: .tabletype SYM, ELEMTYPE .tabletype SYM, ELEMTYPE, MINSIZE .tabletype SYM, ELEMTYPE, MINSIZE, MAXSIZE Depends on D99186. Differential Revision: https://reviews.llvm.org/D99191
-
Mehdi Amini authored
This mechanism makes it possible for a dialect to not register all operations but still answer interface-based queries. This can useful for dialects that are "open" or connected to an external system and still interoperate with the compiler. It can also open up the possibility to have a more extensible compiler at runtime: the compiler does not need a pre-registration for each operation and the dialect can inject behavior dynamically. Reviewed By: rriddle, jpienaar Differential Revision: https://reviews.llvm.org/D93085
-
Balázs Kéri authored
Reviewed By: shafik Differential Revision: https://reviews.llvm.org/D99188
-
Andy Wingo authored
This patch renames the "Initial" member of WasmLimits to the name used in the spec, "Minimum". In the core WebAssembly specification, the Limits data type has one required "min" member and one optional "max" member, indicating the minimum required size of the corresponding table or memory, and the maximum size, if any. Although the WebAssembly spec does instantiate locally-defined tables and memories with the initial size being equal to the minimum size, it can't impose such a requirement for imports. It doesn't make sense to require an initial size for a memory import, for example. The compiler can only sensibly express the minimum and maximum sizes. See https://github.com/WebAssembly/js-types/blob/master/proposals/js-types/Overview.md#naming-of-size-limits for a related discussion that agrees that the right name of "initial" is "minimum" when querying the type of a table or memory from JavaScript. (Of course it still makes sense for JS to speak in terms of an initial size when it explicitly instantiates memories and tables.) Differential Revision: https://reviews.llvm.org/D99186
-
Fangrui Song authored
This is used by Fuchsia for a Debian jessie based sysroot.
-
Jason Molenda authored
Depending on include order, these can cause build errors when including the llvm MachO.h where these are defined as enums. Update the list to include some more names.
-
Jim Lin authored
Copysign from double and to double patterns have lack of HasStdExtD predicate. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D99234
-
Alex Orlov authored
This fixes https://bugs.llvm.org/show_bug.cgi?id=48009 bug. Reviewed By: erik.pilkington, krisb Differential Revision: https://reviews.llvm.org/D98687
-
Fangrui Song authored
-
Michael Kruse authored
-
Chuanqi Xu authored
-
Nemanja Ivanovic authored
There are a number of functions in altivec.h that use vector __int128 which isn't supported on AIX. Those functions need to be guarded for targets that don't support the type. Furthermore, the functions that produce quadword instructions without using the type need a builtin. This patch adds the macro guards to altivec.h using the __SIZEOF_INT128__ which is only defined on targets that support the __int128 type.
-
Max Kazantsev authored
The original comment says the same thing twice, and does not mention that edges entering the block are also in the same bundle (which seems true from what the underlying code is doing). Differential Revision: https://reviews.llvm.org/D99144 Reviewed By: RKSimon
-
Serguei Katkov authored
Statepoint instruction is known to have a variable and big number of operands. It is possible that Register Allocator will split live intervals in the way that all physical registers are occupied by "zero-length" live intervals which are marked as not-spillable. While intervals are marked as not-spillable in the moment of creation when they are really zero-length it is possible that in future as part of re-materialization there will need for physical register between def and use of such tiny interval (the use is not related to this interval at all). As all physical registers are assigned to not-spillable intervals there is not avaialbe registers and RA reports an error. The idea of the fix is avoid marking tiny live intervals where there is a use in statepoint instruction in var args section. Such interval may be perfectly spilled and folded to operand of statepoint. Reviewers: reames, dantrushin, qcolombet, dsanders, dmgreen Reviewed By: reames Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D98766
-
Craig Topper authored
None of the code in this function was written to handle vectors. Most of the cases already fail for vectors for one reason or another. The exception is an optimization that detects identical operands. This can be triggered by vectors, but the code always creates a 0 or 1 constants in a scalar register which is incorrect for vectors. Fixes PR49706.
-
Zakk Chen authored
Support Complex type transformer to define more complexity legal type. Overall our downstream implementation there are only four instructions need to use complex type transformer, it's not a common case. I still feel using a string for prototypes is simple and clear. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D98848
-
Vitaly Buka authored
-
Yang Fan authored
GCC warning: ``` /llvm-project/llvm/lib/Analysis/InstructionSimplify.cpp: In function ‘llvm::Value* SimplifyWithOpReplaced(llvm::Value*, llvm::Value*, llvm::Value*, const llvm::SimplifyQuery&, bool, unsigned int)’: /llvm-project/llvm/lib/Analysis/InstructionSimplify.cpp:3993:15: warning: unused variable ‘SI’ [-Wunused-variable] 3993 | if (auto *SI = dyn_cast<SelectInst>(I)) | ^~ ``` -
Hansang Bae authored
-- Added or moved checks to appropriate places. -- Removed ineffective null check where the pointer is already being dereferenced around the code. -- Initialized variables that can be used without definitions. -- Added call to dlclose/FreeLibrary in OMPT tool activation. -- Added a new build compiler definition. Differential Revision: https://reviews.llvm.org/D98584
-
Richard Smith authored
visibility mode.
-
Richard Smith authored
-