- May 27, 2022
-
-
Pavel Samolysov authored
The CMake variable LIBUNWIND_SUPPORTS_NODEFAULTLIBS_FLAG has been renamed into C_SUPPORTS_NODEFAULTLIBS_FLAG because the last one is used in the confix-ix.cmake file while the variable with the original name is not used at al. Differential Revision: https://reviews.llvm.org/D126466
-
Piggy NL authored
Summary: The size of long double in RISCV (both RV32 and RV64) is 16 bytes, thus the mangled_size shouble be 32. This patch will fix test case "_ZN5test01hIfEEvRAcvjplstT_Le4001a000000000000000E_c" in test_demangle.pass.cpp, which is expected to be invalid but demangler returned "void test0::h<float>(char (&) [(unsigned int)((sizeof (float)) + (0x0.000000004001ap-16382L))])" in RISCV environment without this patch. Reviewed By: urnathan Differential Revision: https://reviews.llvm.org/D126480
-
Ping Deng authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D126516
-
Siva Chandra Reddy authored
They are added as entrypoint object targets. The header-gen infrastructure has been extended to enable handling standard required global objects. The libc-api-test has also been extended to verify the global object declarations. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D126329
-
LLVM GN Syncbot authored
-
Rahman Lavaee authored
This relands commit 4d8d2580. The major change here is using 'addUsedIfAvailable<BasicBlockSectionsProfileReader>()` to make sure we don't change the pipeline tests. Differential Revision: https://reviews.llvm.org/D126518
-
Chenbing Zheng authored
-
Luo, Yuanke authored
-
Hanhan Wang authored
Reviewed By: ThomasRaoux, dcaballe Differential Revision: https://reviews.llvm.org/D126454
-
Enna1 authored
This patch adds !nosanitize metadata to FixedMetadataKinds.def, !nosanitize indicates that LLVM should not insert any sanitizer instrumentation. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D126294
-
Rahman Lavaee authored
This reverts commit 4d8d2580.
-
Fangrui Song authored
-
wren romano authored
This is a followup to D126105 to move functions in SparseTensorUtils.cpp to match their locations in SparseTensorUtils.h Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D126106
-
wren romano authored
This change makes the public API of SparseTensorUtils.cpp explicit, whereas before the publicity of these functions was only implicit. Implicit publicity is sufficient for mlir-opt to generate calls to these functions, but it's not enough to enable C/C++ code to call them directly in the usual way (i.e., without going through codegen). Thus, leaving the publicity implicit prevents development of other tools (e.g., microbenchmarks). In addition this change also marks the functions MLIR_CRUNNERUTILS_EXPORT, which is required by the JIT under certain configurations (albeit not for anything in our test suite). Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D126105
-
Argyrios Kyrtzidis authored
This should fix the `clang-ppc64-aix` builder.
-
Chelsea Cassanova authored
Moving lldb-target-fuzzer into its own subdirectory for better organization and modularity. Differential revision: https://reviews.llvm.org/D126507
-
Damian Rouson authored
Add a test with a range of this_image() intrinsic function invocations, including a comprehensive set of standard-conforming keyword and non-keyword arguments with and without optional arguments present and with argument positions covering all possible orderings. Also test that several non-conforming this_image() invocations generate the correct error messages. Differential Revision: https://reviews.llvm.org/D123331
-
Rahman Lavaee authored
Today, text section prefixes (none, .unlikely, .hot, and .unkown) are determined based on PGO profile. However, Propeller may deem a function hot when PGO doesn't. Besides, when `-Wl,-keep-text-section-prefix=true` Propeller cannot enforce a global section ordering as the linker can only reorder sections within each output section (.text, .text.hot, .text.unlikely). This patch promotes all functions with Propeller profiles (functions listed in the basic-block-sections profile) to .text.hot. The feature is hidden behind the flag `--bbsections-guided-section-prefix` which defaults to `true`. The new implementation refactors the parsing of basic block sections profile into a new `BasicBlockSectionsProfileReader` analysis pass. This allows us to use the information earlier in `CodeGenPrepare` in order to set the functions text prefix. `BasicBlockSectionsProfileReader` will be used both by `BasicBlockSections` pass and `CodeGenPrepare`. Differential Revision: https://reviews.llvm.org/D122930
-
Arthur Eubanks authored
All callers pass true. select-unfold-freeze.ll is now a subset of select.ll so delete it. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D126501
-
Philip Reames authored
A RISCV implementation can choose to implement unaligned load/store support. We currently don't have a way for such a processor to indicate a preference for unaligned load/stores, so add a subtarget feature. There doesn't appear to be a formal extension for unaligned support. The RISCV Profiles (https://github.com/riscv/riscv-profiles/blob/main/profiles.adoc#rva20u64-profile) docs use the name Zicclsm, but a) that doesn't appear to actually been standardized, and b) isn't quite what we want here anyway due to the perf comment. Instead, we can follow precedent from other backends and have a feature flag for the existence of misaligned load/stores with sufficient performance that user code should actually use them. Differential Revision: https://reviews.llvm.org/D126085
-
Rafael Auler authored
Fix a bug where shrink-wrapping would use wrong stack offsets because the stack was being aligned with an AND instruction, hence, making its true offsets only available during runtime (we can't statically determine where are the stack elements and we must give up on this case). Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D126110
-
Sam Clegg authored
-
Jim Ingham authored
so that they can be used to prime new Process runs. "process handle" was also changed to populate the dummy target if there's no selected target, so that the settings will get copied into new targets. Differential Revision: https://reviews.llvm.org/D126259
-
Matthias Braun authored
-
Sam Clegg authored
This matches the behaviour of the ELF backend (in fact this change is mostly just copying directly from ELF/Options.td). Differential Revision: https://reviews.llvm.org/D126500
-
Fangrui Song authored
Use a generic ELF triple to demonstrate that these apply to all ELF OSes. Also migrate away from the legacy `-target ` spelling.
-
Sebastian Peryt authored
This patch fixes formatting inside Functions section of declare by making it consistent with the way how define is written. Fixes #39844 Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D125581
-
Sebastian Peryt authored
This change is a small refactor of Functions section to update placement of define syntax. Reviewed By: RKSimon Differential revision: https://reviews.llvm.org/D125831
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Michael Kruse authored
The tests dot-scops.ll and dot-scops-npm.ll both wrote to the same file scops.func.dot. If they are executed in parallel they will race for the file. Fix by renaming func to func_npm in dot-scops-npm.ll so this test writes dot scops.func_npm.dot. Long-term, we will probably pass a file name (prefix) to the printer pass such that we can use the guaranteed-unique LIT %t placeholder in tests.
-
owenca authored
Differential Revision: https://reviews.llvm.org/D126358
-
Louis Dionne authored
-
Sam Clegg authored
We have some special handling for weakly defined symbols where we both import and export them, but this is not needed for hidden symbols which should never be imported or exported. See https://github.com/emscripten-core/emscripten/pull/16972 This should also help with: https://github.com/emscripten-core/emscripten/issues/15487 Differential Revision: https://reviews.llvm.org/D126491
-
owenca authored
Fixes #55706. Differential Revision: https://reviews.llvm.org/D126438
-
Sam Clegg authored
I'm really not sure how this was overlooked when we first ported lld to Wasm. The upstream code in the ELF backend has these two lines but for some reason they never make it into the Wasm version. Differential Revision: https://reviews.llvm.org/D126497
-
William Huang authored
Add Value Tracking support to deduce induction variable being a power of 2, allowing urem optimizations Reviewed By: davidxl Differential Revision: https://reviews.llvm.org/D126018
-
Sanjay Patel authored
This is effectively NFC (intentionally no test diffs) because we already have the related fold that converts the 'and' pattern to select. So this is just an efficiency improvement.
-
Sanjay Patel authored
-
Sanjay Patel authored
This extends the fold from D126410 / 3952c905 to allow for the only case where it works with signed division: https://alive2.llvm.org/ce/z/k7_ypu (X s/ Y) == SMIN --> (X == SMIN) && (Y == 1) (X s/ Y) != SMIN --> (X != SMIN) || (Y != 1) This is another improvement based on #55695.
-