| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[test] Improve PGO tests | 5 年前 | |
[debuginfod] Use dedicated cache dir for tests | 3 年前 | |
[llvm-cov] Fix the test of bnary-id-lookup.c after the commit cd8fe1dbc. | 2 年前 | |
[llvm][profile] Add padding after binary IDs Some tests with binary IDs would fail with error: no profile can be merged. This is because raw profiles could have unaligned headers when emitting binary IDs. This means padding should be emitted after binary IDs are emitted to ensure everything else is aligned. This patch adds padding after each binary ID to ensure the next binary ID size is 8-byte aligned. This also adds extra checks to ensure we aren't reading corrupted data when printing binary IDs. Differential Revision: https://reviews.llvm.org/D110365 | 4 年前 | |
| 2 年前 | ||
compiler-rt: Rename remaining cc files in test/profile to cpp See r367803 and similar other changes. llvm-svn: 367858 | 6 年前 | |
[compiler-rt][profile] Make corrupted-profile.c more robust This test specifically checks that profiles are not mergeable if there's a change in the CounterPtr in the profile header. The test manually changes CounterPtr by explicitly calling memset on some offset into the profile file. This test would fail if binary IDs were emitted because the offset calculation does not take into account the binary ID sizes. This patch updates the test to use types provided in profile/InstrProfData.inc to make it more resistant to profile layout changes. Differential Revision: https://reviews.llvm.org/D110277 | 4 年前 | |
[ConstantFolding] Canonicalize constexpr GEPs to i8 (#89872) This patch canonicalizes constant expression GEPs to use i8 source element type, aka ptradd. This is the ConstantFolding equivalent of the InstCombine canonicalization introduced in #68882. I believe all our optimizations working on constant expression GEPs (like GlobalOpt etc) have already been switched to work on offsets, so I don't expect any significant fallout from this change. This is part of: https://discourse.llvm.org/t/rfc-replacing-getelementptr-with-ptradd/68699 | 2 年前 | |
[profile] Add binary ids into indexed profiles This patch adds support for including binary ids in an indexed profile. It adds a new field into the header that points to the offset of the binary id section. The binary id section consists of a size of the section, and a list of binary ids (if they are present) that consist of two parts: length and data. This patch guarantees that indexed profile is backwards compatible after adding binary ids. Differential Revision: https://reviews.llvm.org/D135929 | 3 年前 | |
[ConstantFolding] Canonicalize constexpr GEPs to i8 (#89872) This patch canonicalizes constant expression GEPs to use i8 source element type, aka ptradd. This is the ConstantFolding equivalent of the InstCombine canonicalization introduced in #68882. I believe all our optimizations working on constant expression GEPs (like GlobalOpt etc) have already been switched to work on offsets, so I don't expect any significant fallout from this change. This is part of: https://discourse.llvm.org/t/rfc-replacing-getelementptr-with-ptradd/68699 | 2 年前 | |
[test][profile] Disable failing PPC tests Tests were acidentally included into target executed on sanitizer-ppc64be-linux bot. It does not look like there were OK before. | 2 年前 | |
[test][profile] Disable failing PPC tests Tests were acidentally included into target executed on sanitizer-ppc64be-linux bot. It does not look like there were OK before. | 2 年前 | |
[test][profile] Disable failing PPC tests Tests were acidentally included into target executed on sanitizer-ppc64be-linux bot. It does not look like there were OK before. | 2 年前 | |
[test] Fix compiler-rt/test/profile/coverage_emptylines.cpp if the build directory is under /tmp llvm-cov -path-equivalence=/tmp,... is used by some checked-in coverage mapping files where the original filename is under /tmp. If the test itself produces the coverage mapping file, there is no need for /tmp. For coverage_emptylines.cpp: the source filename is under the build directory. If the build directory is under /tmp, the path mapping will make llvm-cov fail to find the file. | 5 年前 | |
[test] Fix compiler-rt/test/profile/coverage_emptylines.cpp if the build directory is under /tmp llvm-cov -path-equivalence=/tmp,... is used by some checked-in coverage mapping files where the original filename is under /tmp. If the test itself produces the coverage mapping file, there is no need for /tmp. For coverage_emptylines.cpp: the source filename is under the build directory. If the build directory is under /tmp, the path mapping will make llvm-cov fail to find the file. | 5 年前 | |
Rollback 260394 -- 32bit test needs more config support llvm-svn: 260402 | 10 年前 | |
[test] Fix compiler-rt/test/profile/coverage_emptylines.cpp if the build directory is under /tmp llvm-cov -path-equivalence=/tmp,... is used by some checked-in coverage mapping files where the original filename is under /tmp. If the test itself produces the coverage mapping file, there is no need for /tmp. For coverage_emptylines.cpp: the source filename is under the build directory. If the build directory is under /tmp, the path mapping will make llvm-cov fail to find the file. | 5 年前 | |
Fix the following tests when running under cross-compilation: Profile-aarch64 :: Linux/comdat_rename.test Profile-aarch64 :: Linux/extern_template.test Profile-aarch64 :: Linux/instrprof-comdat.test Profile-aarch64 :: Linux/instrprof-cs.c The issue is that the created (aarch64) binaries were attempting to run natively instead of running through %run, which guarantees running in the proper environment if the compilation was configured correctly. llvm-svn: 282264 | 9 年前 | |
Minor clean up of profile rt tests llvm-svn: 305113 | 9 年前 | |
Revert "Use uint64_t for branch weights instead of uint32_t" This reverts commit 10f2a0d662d8d72eaac48d3e9b31ca8dc90df5a4. More uint64_t overflows. | 5 年前 | |
[profile][test] Delete --path-equivalence=/tmp,%S This causes the test to fail if %S is under /tmp | 4 年前 | |
Reapply commit b7425e956 The commit b7425e956: [NFC] fix typos is harmless but was reverted by accident. Reapply. | 4 年前 | |
Revert "[Profile] Refactor profile correlation. (#70712)" This reverts commit 4b383d0af93136b80841fc140da0823dfc441dd4. | 2 年前 | |
Revert "[Profile] Refactor profile correlation. (#70712)" This reverts commit 4b383d0af93136b80841fc140da0823dfc441dd4. | 2 年前 | |
[PGO] Delay profile dir creation until write Differential Revision: http://reviews.llvm.org/D29960 llvm-svn: 295108 | 9 年前 | |
[PGO] Add Linux specific test cases for profile runtime (second try with more strict config check) Currently, only gc-sections related tests are added. Gold linker currently is required due to PR19161 of bfd linker. llvm-svn: 257456 | 10 年前 | |
[PGO] Add Linux specific test cases for profile runtime (second try with more strict config check) Currently, only gc-sections related tests are added. Gold linker currently is required due to PR19161 of bfd linker. llvm-svn: 257456 | 10 年前 | |
[PGO] Add Linux specific test cases for profile runtime (second try with more strict config check) Currently, only gc-sections related tests are added. Gold linker currently is required due to PR19161 of bfd linker. llvm-svn: 257456 | 10 年前 | |
add -f to rm so the test passes the first time it's run the file file is not present (otherwise it just keeps failing at the rm step and never passes... ) llvm-svn: 271959 | 9 年前 | |
[llvm-profdata] Use semicolon as the delimiter for supplementary profiles. (#75080) When merging instrFDO profiles with afdo profile as supplementary, instrFDO counters for static functions are stored with function's PGO name (with filename.cpp; prefix). - This pull request fixes the delimiter used when a PGO function name is 'normalized' for AFDO look-up. | 2 年前 | |
[Profile] Handle invalid profile data This mostly follows LLVM's InstrProfReader.cpp error handling. Previously, attempting to merge corrupted profile data would result in crashes. See https://crbug.com/1216811#c4. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D104050 | 5 年前 | |
[Profile] Refactor profile correlation. (#70856) Refactor some code from https://github.com/llvm/llvm-project/pull/69493. #70712 was reverted due to linking failures. So, -debug-info-correlate remains unchanged and no new flag added. | 2 年前 | |
[test][profile] Disable failing PPC tests Tests were acidentally included into target executed on sanitizer-ppc64be-linux bot. It does not look like there were OK before. | 2 年前 | |
[profile][test] Add -no-pie to make value profile merge work on Linux with default PIE Alpine enables PIE by default. | 4 年前 | |
Set hidden attribute on lprofMergeValueProfData Summary: The changes in https://reviews.llvm.org/D44847 cause load time failure due to lprofMergeValueProfData in Android libs enabled with profile generation: "dlopen failed: cannot locate symbol "lprofMergeValueProfData" referenced by..." Marking lprofMergeValueProfData as hidden so the correct in-module definition is picked by the linker. Reviewers: davidxl Reviewed By: davidxl Subscribers: efriedma, xur, davidxl, llvm-commits Differential Revision: https://reviews.llvm.org/D55893 llvm-svn: 354064 | 7 年前 | |
[profile][test] Pin Linux/instrprof-value-prof-warn.test to -fuse-ld=bfd To work around https://sourceware.org/bugzilla/show_bug.cgi?id=27490 | 5 年前 | |
[InstrPGO][TypeProf]Annotate vtable types when they are present in the profile (#99402) Before this change, when file.profdata have vtable profiles but --enable-vtable-value-profiling is not on for optimized build, warnings from this line [1] will show up. They are benign for performance but confusing. It's better to automatically annotate vtable profiles if file.profdata has them. This PR implements it in profile use pass. * If -icp-max-num-vtables is zero (default value is 6), vtable profiles won't be annotated. [1] https://github.com/llvm/llvm-project/blob/464d321ee8dde1eaf14b5537eaf030e6df513849/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp#L1762-L1768 | 2 年前 | |
[PGO] Reland PGO's Counter Reset and File Dumping APIs #76471 (#78285) https://github.com/llvm/llvm-project/pull/76471 caused buildbot failures on Windows. For more details, see https://github.com/llvm/llvm-project/issues/77546. This PR revises the test and relands https://github.com/llvm/llvm-project/pull/76471. | 2 年前 | |
[NFC][Py Reformat] Reformat python files in the rest of the dirs This is an ongoing series of commits that are reformatting our Python code. This catches the last of the python files to reformat. Since they where so few I bunched them together. Reformatting is done with black. If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run git checkout --ours <yourfile> and then reformat it with black. If you run into any problems, post to discourse about it and we will try to help. RFC Thread below: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Reviewed By: jhenderson, #libc, Mordante, sivachandra Differential Revision: https://reviews.llvm.org/D150784 | 3 年前 | |
[InstrProf] Add version into llvm-profdata This patch adds support of printing profile version into llvm-profdata which was proposed in: https://discourse.llvm.org/t/llvm-profdata-failure-guarantees-for-code-coverage/64924 Differential Revision: https://reviews.llvm.org/D135317 | 3 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 5 年前 | ||
| 3 年前 | ||
| 2 年前 | ||
| 4 年前 | ||
| 2 年前 | ||
| 6 年前 | ||
| 4 年前 | ||
| 2 年前 | ||
| 3 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 10 年前 | ||
| 5 年前 | ||
| 9 年前 | ||
| 9 年前 | ||
| 5 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 9 年前 | ||
| 10 年前 | ||
| 10 年前 | ||
| 10 年前 | ||
| 9 年前 | ||
| 2 年前 | ||
| 5 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 4 年前 | ||
| 7 年前 | ||
| 5 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 3 年前 | ||
| 3 年前 |