- Jul 23, 2021
-
-
Rob Suderman authored
Includes a version of a quantized conv2D operations with a lowering from TOSA to linalg with corresponding test. We keep the quantized and quantized variants as separate named ops to avoid the additional operations for non-quantized convolutions. Differential Revision: https://reviews.llvm.org/D106407
-
George Balatsouras authored
Functions `vsnprintf`, `vsprintf` and `vfprintf` commonly occur in DFSan warnings. Reviewed By: stephan.yichao.zhao Differential Revision: https://reviews.llvm.org/D106195
-
Jose M Monsalve Diaz authored
These functions should follow the camel case convention. These are really easy to change and are needed for D106033. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D106390
-
Jim Ingham authored
Code was added to Target::RunStopHook to make sure that we don't run stop hooks when you stop after an expression evaluation. But the way it was done was to check that we hadn't run an expression since the last natural stop. That failed in the case where you stopped for a breakpoint which had run an expression, because the stop-hooks get run after the breakpoint actions, and so by the time we got to running the stop-hooks, we had already run a user expression. I fixed this by adding a target ivar tracking the last natural stop ID at which we had run a stop-hook. Then we keep track of this and make sure we run the stop-hooks only once per natural stop. Differential Revision: https://reviews.llvm.org/D106514
-
Eli Friedman authored
-
Geoffrey Martin-Noble authored
Update Bazel for https://github.com/llvm/llvm-project/commit/f8c6515554 by splitting out an LLVMDWP library target.
-
Amy Huang authored
Add an opt out flag for constructor homing. Differential Revision: https://reviews.llvm.org/D106582
-
David Blaikie authored
An empty enum is used to implement C++'s new-ish "byte" type (to make sure it's a separate type for overloading, etc - compared to a typedef) - without any enumerators. Some clang warnings don't make sense in this sort of situation, so let's skip them for empty enums. It's arguable that possibly some situations of enumerations without enumerators might want the previous-to-this-patch behavior (if the enum is autogenerated and in some cases comes up empty, then maybe a default in an empty switch would still be considered problematic - so that when you add the first enumeration you do get a -Wswitch warning). But I think that's niche enough & this std::byte case is mainstream enough that we should prioritize the latter over the former. If someone's got a middle ground proposal to account for both of those situations, I'm open to patches/suggestions/etc.
-
Jianzhou Zhao authored
Because almost all internal use cases need to turn warn_unimplemented off.
-
Roman Lebedev authored
This function is called when some predecessor of an empty return block ends with a conditional branch, with both successors being empty ret blocks. Now, because of the way SimplifyCFG works, it might happen to simplify one of the blocks in a way that makes a conditional branch into an unconditional one, since it's destinations are now identical, but it might not have actually simplified said conditional branch into an unconditional one yet. So, we have to check that ourselves first, especially now that SimplifyCFG aggressively tail-merges all ret and resume blocks. Even if it was an unconditional branch already, `SimplifyCFGOpt::simplifyReturn()` doesn't call `FoldReturnIntoUncondBranch()` by default.
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Alexander Yermolovich authored
This is follow up to https://reviews.llvm.org/D106198 where llvm-dwp was refactored in to multiple files. In this patch moving them in to lib/include directories. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D106493
-
Kirill Stoimenov authored
This change eliminate the stack frame for the fast path and improves runtime performance. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D106505
-
Shu-Chun Weng authored
-
Nick Fitzgerald authored
When two symbols import the same thing, only one import should be emitted in the Wasm file. Fixes https://bugs.llvm.org/show_bug.cgi?id=50938 Reverted in: 16aac493. Reviewed By: sbc100 Differential Revision: https://reviews.llvm.org/D105519
-
Jacques Pienaar authored
Missed this one in the first go.
-
Med Ismail Bennani authored
This patch updates the `ScriptedProcess::GetGenericInteger` return type to `llvm::Optional<unsigned long long>` to match implementation. Differential Revision: https://reviews.llvm.org/D105788 Signed-off-by:
Med Ismail Bennani <medismail.bennani@gmail.com>
-
Med Ismail Bennani authored
This patch should address the compiler warnings due to mismatch type comparaison. Differential Revision: https://reviews.llvm.org/D105788 Signed-off-by:
Med Ismail Bennani <medismail.bennani@gmail.com>
-
Martin Storsjö authored
If some symbols are marked with dllexport, we still want to export all symbols if -export-all-symbols is specified. Previously, this only worked as it should for DLL output, not for EXE. This should fix downstream bug https://github.com/msys2/MINGW-packages/issues/9163. Differential Revision: https://reviews.llvm.org/D106245
-
Mircea Trofin authored
-
Felix Berger authored
[clang-tidy] performance-unnecessary-copy-initialization: Create option to exclude container types from triggering the check. Add string list option of type names analagous to `AllowedTypes` which lets users specify a list of ExcludedContainerTypes. Types matching this list will not trigger the check when an expensive variable is copy initialized from a const accessor method they provide, i.e.: ``` ExcludedContainerTypes = 'ExcludedType' void foo() { ExcludedType<ExpensiveToCopy> Container; const ExpensiveToCopy NecessaryCopy = Container.get(); } ``` Even though an expensive to copy variable is copy initialized the check does not trigger because the container type is excluded. This is useful for container types that don't own their data, such as view types where modification of the returned references in other places cannot be reliably tracked, or const incorrect types. Differential Revision: https://reviews.llvm.org/D106173 Reviewed-by: ymandel -
Paulo Matos authored
Reland of 31859f89. This change implements new DAG notes GLOBAL_GET/GLOBAL_SET, and lowering methods for load and stores of reference types from IR globals. Once the lowering creates the new nodes, tablegen pattern matches those and converts them to Wasm global.get/set. Reviewed By: tlively Differential Revision: https://reviews.llvm.org/D104797
-
Mircea Trofin authored
The bots only build release mode, and the use of `reserve` instead of `resize`, while not causing invalid memory accesses, is incorrect.
-
Jake Egan authored
This patch defines the macro __LONGDOUBLE64 for AIX when long double is 8 bytes. Reviewed By: cebowleratibm Differential Revision: https://reviews.llvm.org/D105477
-
Roman Lebedev authored
As pointed out by Craig Topper.
-
Eric Astor authored
We previously had issues identifying macros not registered with a lowercase name. Reviewed By: mstorsjo, thakis Differential Revision: https://reviews.llvm.org/D106453
-
Anjan Kumar Guttahalli Krishna authored
This patch makes the changes in the driver that converts the medium code model to large. Reviewed By: hubert.reinterpretcast Differential Revision: https://reviews.llvm.org/D106371
-
Shu-Chun Weng authored
signal(2) and sigaction(2) have defined behaviors for invalid signal number (EINVAL) and some programs rely on it. The added test case also reveals that MSAN is too strict in this regard. Test case passed on x86_64 Linux and AArch64 Linux. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D106468
-
Nikita Popov authored
-
Anjan Kumar Guttahalli Krishna authored
Emit the unsupported option error until the Clang's library integration support for 128-bit long double is available for AIX. Reviewed By: Whitney, cebowleratibm Differential Revision: https://reviews.llvm.org/D106074
-
Jacques Pienaar authored
Update to use alias in preparation for changing it to not just be a pure alias.
-
Jon Chesterfield authored
Reviewed By: gregrodgers, jdoerfert Differential Revision: https://reviews.llvm.org/D106581
-
Roman Lebedev authored
The logical (select) form of and/or will now be a source of problems. We don't really account for it's inverted form, yet it exists, and presumably we should treat it just like non-inverted form: https://alive2.llvm.org/ce/z/BU9AXk https://bugs.llvm.org/show_bug.cgi?id=51149 reports a reportedly-serious perf regression that will hopefully be mitigated by this.
-
Roman Lebedev authored
-
Felix Berger authored
[clang-tidy] performance-unnecessary-copy-initialization: Disable check when variable and initializer have different replaced template param types. This can happen when a template with two parameter types is instantiated with a single type. The fix would only be valid for this instantiation but fail for others that rely on an implicit type conversion. The test cases illustrate when the check should trigger and when not. Differential Revision: https://reviews.llvm.org/D106011
-
Jon Chesterfield authored
-
Simon Pilgrim authored
Update shl/lshr/ashr costs based on the worst case costs from the script in D103695 - many of the 128-bit shifts (usually where integer multiplies aren't used) have similar behaviour to AVX1 so we can merge them.
-
Simon Pilgrim authored
We'd lost AVX1 test coverage due to bulldozer (XOP) trying to use the same check prefixes - we really need to fix the update script to avoid this!
-
Jon Chesterfield authored
AMDGPU can assume Elf64 so doesn't need to abstract over Elf32 Drop a few other unused headers at the same time. Now only llvm elf and libelf are used by the plugin. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D106579
-