- May 31, 2024
-
-
Pavel Samolysov authored
Currently, only modules that contain at least a single function definition are instrumented. When a module contains no function definitions at all, the module is not instrumented (yet?) and there is no reason to introduce the '__llvm_profile_raw_version' variable into the module.
-
Pavel Samolysov authored
The 'PGOInstrumentationGen' pass should preserve all analysis results when nothing was actually instrumented. Currently, only modules that contain at least a single function definition are instrumented. When a module contains only function declarations and, optionally, global variable definitions (a module for the regular-LTO phase for thin-LTO when LTOUnit splitting is enabled, for example), such module is not instrumented (yet?) and there is no reason to invalidate any analysis results. NFC.
-
Charlie Barto authored
This reverts commit 8fa66c6c.
-
khaki3 authored
Derived from #92480. This PR supports parsing of the DO CONCURRENT REDUCE clause in Fortran 2023. Following the style of the OpenMP parser in MLIR, the front end accepts both arbitrary operations and procedures for the REDUCE clause. But later Semantics can notify type errors and resolve procedure names.
-
Hendrik Hübner authored
New pull request for https://github.com/llvm/llvm-project/issues/89443 The previous PR was reverted after breaking fullbuild due to a missing struct declaration, which I forgot to commit. Reverts revert and adds the missing pthread_rwlockattr_getkind_np / pthread_rwlockattr_setkind_np functions and tests respecitvely.
-
Florian Hahn authored
This patch adds a new special type of VPBasicBlock that wraps an existing IR basic block. Recipes of the block get added before the terminator of the wrapped IR basic block. Making it a subclass of VPBasicBlock avoids duplicating various APIs to manage recipes in a block, as well as makes sure the traversals filtering VPBasicBlocks automatically apply as well. Initially VPIRBasicBlock are only used for the pre-preheader (wrapping the original preheader of the scalar loop). As follow-up, this will be used to move more parts of the skeleton inside VPlan, starting with the branch and condition in the middle block. Separated out of https://github.com/llvm/llvm-project/pull/92651 PR: https://github.com/llvm/llvm-project/pull/93398
-
Charlie Barto authored
Re-Apply: 246234ac Originally #81677 The static asan runtime on windows had various buggy hacks to ensure loaded dlls got the executable's copy of asan, these never worked all that well, so we have eliminated the static runtime altogether and made the dynamic runtime work for applications linking any flavor of the CRT. Among other things this allows non-asan-instrumented applications to load asan-instrumented dlls that link against the static CRT. Co-authored-by:
Amy Wishnousky <amyw@microsoft.com>
-
Fangrui Song authored
Follow-up to a previous simplification 2473b1af. The xor difference between a SHT_NOTE and a read-only SHT_PROGBITS (previously >=NOT_SPECIAL) should be smaller than RF_EXEC. Otherwise, for the following section layout, `findOrphanPos` would place .text before note. ``` // simplified from linkerscript/custom-section-type.s non orphans: progbits 0x8060c00 NOT_SPECIAL note 0x8040003 orphan: .text 0x8061000 NOT_SPECIAL ``` rw-text.lds in orphan.s (added by 73e07e92) demonstrates a similar case. The new behavior is more similar to GNU ld. #93763 fixed BOLT's brittle reliance on the previous .interp behavior.
-
Fangrui Song authored
Currently, lld assigns RF_NOT_SPECIAL so that orphan .interp and SHT_NOTE are always before other sections. GNU ld doesn't do so. The next change will remove RF_NOT_SPECIAL.
-
Jeremy Kun authored
Rebased over https://github.com/llvm/llvm-project/pull/93227 --------- Co-authored-by:
Jeremy Kun <j2kun@users.noreply.github.com>
-
Fangrui Song authored
Merge orphan-align.test (which introduced `shouldSkip`) into orphan.s.
-
LLVM GN Syncbot authored
-
Miro Bucko authored
This adds new SB API calls and classes to allow a user of the SB API to obtain an address range from SBFunction and SBBlock. This is a second attempt to land the reverted PR #92014.
-
Matt Arsenault authored
Try to avoid referring to specific operand names, except in the special case. The special case for hasNamedOperand(Op32, sdst) seems to have been dead code.
-
Fangrui Song authored
Then two tests rely on .interp being the first section. llvm-bolt would crash if lld places .interp after .got (f639b57f). For best portability, when a linker scripts specifies a SECTIONS command, the first section for each PT_LOAD segment should be specified with a MAXPAGESIZE alignment. Otherwise, linkers have freedom to decide how to place orphan sections, which might break intention.
-
Andrzej Warzyński authored
To keep the test filenames consistent, this patch: * removes "test-" from file names (there used to be a mix of "test-feature-1.mlir" and "feature-2.mlir"), * replaces "_" with "-" (there used to be a mix of "feature-3.mlir" and "feature_4.mlir"). Only files under test/Integration/Dialect/Vector/CPU are updated. -
Zequan Wu authored
This fixes https://github.com/llvm/llvm-project/pull/92328#issuecomment-2139339444 by not differentiating `DW_TAG_class_type` and `DW_TAG_structure_type` in `UniqueDWARFASTTypeList`, because it's possible that DIE for a type is `DW_TAG_class_type` in one CU but is `DW_TAG_structure_type` in a different CU. --------- Co-authored-by:
Michael Buch <michaelbuch12@gmail.com>
-
Jay Foad authored
They have been superseded by llvm.amdgcn.raw.buffer.* and llvm.amdgcn.struct.buffer.*.
-
Poseydon42 authored
This PR adds support for folding calls to `ucmp`/`scmp` intrinsics with constant arguments.
-
Stephen Tozer authored
Although the patch that enables debug records by default has been temporarily reverted, it will (eventually) be reverted and everyone's code will be subjected to the new debug info format. Although this is broadly a good thing, it is important that the documentation has enough information to guide users through the update; this patch adds what should hopefully be enough detail for most users to either find the answers, or find out how to find those answers.
-
LLVM GN Syncbot authored
-
Brendan Dahl authored
All of these instructions can be generated using regular LL instructions. Specified at: https://github.com/WebAssembly/half-precision/blob/29a9b9462c9285d4ccc1a5dc39214ddfd1892658/proposals/half-precision/Overview.md
-
- May 30, 2024
-
-
Vlad Serebrennikov authored
This patch introduces `SemaAMDGPU`, `SemaARM`, `SemaBPF`, `SemaHexagon`, `SemaLoongArch`, `SemaMIPS`, `SemaNVPTX`, `SemaPPC`, `SemaSystemZ`, `SemaWasm`. This continues previous efforts to split Sema up. Additional context can be found in #84184 and #92682. I decided to bundle target-specific components together because of their low impact on `Sema`. That said, their impact on `SemaChecking.cpp` is far from low, and I consider it a success. Somewhat accidentally, I also moved Wasm- and AMDGPU-specific function from `SemaDeclAttr.cpp`, because they were exposed in `Sema`. That went well, and I consider it a success, too. I'd like to move the rest of static target-specific functions out of `SemaDeclAttr.cpp` like we're doing with built-ins in `SemaChecking.cpp` .
-
Dmitry Vasilyev authored
Skip checking of few stat fields like st_dev (ID of device containing file) in case of a remote target.
-
Dmitry Vasilyev authored
Recently we have disabled this test for Windows host and Linux target. Now we faced the same issue #92419 in case of Linux x86_64 host and Linux Aarch64 target.
-
Dmitry Vasilyev authored
The TestGdbRemoteLibrariesSvr4Support test failed in case of Linux x86_64 host and Linux Aarch64 target. Installing libraries to the remote target is not enough. This test actively uses self.getBuildDir() and os.path.realpath() which does not work in case of the remote target. So, disable this test for remote target now.
-
Min-Yih Hsu authored
According to our performance measurements, FLH/W/D have load latencies closer to 5 rather than 6 in these two models.
-
Pavel Labath authored
Macos will automatically load dependent modules when creating a target, resulting in more modules than the test expects.
-
cor3ntin authored
Found by #93667
-
Stefan Gränitz authored
And sort out some unused headers
-
Christudasan Devadasan authored
-
Valentin Clement (バレンタイン クレメン) authored
Handle lowering of non optional inquired argument in custom lowering. Also fix an issue in the lowering of associated optional argument where a box was emboxed again which led to weird result.
-
Ryan Holt authored
Back to back `linalg.transpose` can be rewritten to a single transpose
-
Krzysztof Parzyszek authored
Re-enable test disabled in 1bf1f93d with a fix.
-
Stefan Gränitz authored
Reduce code bloat by checking test requirements in a common test fixture
-
Jeremy Kun authored
Better design to put semantics on the ops, and in this case the ntt/intt op can lower in multiple ways depending on the polynomial ring modulus (it can need an nth root of unity for cyclic polymul -> ntt, or a 2nth root for negacyclic polymul -> ntt) --------- Co-authored-by:Jeremy Kun <j2kun@users.noreply.github.com>
-
David Green authored
Last used in e35fbf5c.
-
Piotr Zegar authored
Verify that size/length methods are called with no arguments. Closes #88203
-
Krzysztof Parzyszek authored
The `target reduction` combination is no longer accepted. Disable the test to avoid build failures, until a better fix is ready.
-
vdonaldson authored
If present, the optional second argument of the ieee_exceptions intrinsic module procedure ieee_support_flag may be either a scalar or an array. Change the signature of the routine that implements this function so that it is processed as a transformational function, not an elemental function, which accounts for this argument variant.
-