Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4 |
|
#
89e6a288 |
| 30-Aug-2024 |
Daniil Fukalov <dfukalov@gmail.com> |
[NFC] Add explicit #include llvm-config.h where its macros are used. (#106621)
Without these explicit includes, removing other headers, who implicitly
include llvm-config.h, may have non-trivial si
[NFC] Add explicit #include llvm-config.h where its macros are used. (#106621)
Without these explicit includes, removing other headers, who implicitly
include llvm-config.h, may have non-trivial side effects.
show more ...
|
Revision tags: llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1 |
|
#
716042a6 |
| 06-Mar-2024 |
Mehdi Amini <joker.eph@gmail.com> |
Rename llvm::ThreadPool -> llvm::DefaultThreadPool (NFC) (#83702)
The base class llvm::ThreadPoolInterface will be renamed
llvm::ThreadPool in a subsequent commit.
This is a breaking change: cli
Rename llvm::ThreadPool -> llvm::DefaultThreadPool (NFC) (#83702)
The base class llvm::ThreadPoolInterface will be renamed
llvm::ThreadPool in a subsequent commit.
This is a breaking change: clients who use to create a ThreadPool must
now create a DefaultThreadPool instead.
show more ...
|
#
4a4fb930 |
| 05-Mar-2024 |
Mehdi Amini <joker.eph@gmail.com> |
Use the new ThreadPoolInterface base class instead of the concrete implementation (NFC) (#84056)
|
Revision tags: llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init |
|
#
7ca94a84 |
| 06-Dec-2023 |
Kazu Hirata <kazu@google.com> |
[llvm-reduce] Remove unnecessary includes (NFC)
Identified with clangd.
|
Revision tags: llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4 |
|
#
7d2b7be2 |
| 15-May-2023 |
Arthur Eubanks <aeubanks@google.com> |
[llvm-reduce] Only write reduced output after we've saved it
Otherwise we're just rewriting the currently saved module instead of the newly reduced one.
Doesn't affect the final output since we sep
[llvm-reduce] Only write reduced output after we've saved it
Otherwise we're just rewriting the currently saved module instead of the newly reduced one.
Doesn't affect the final output since we separately write that at the end.
show more ...
|
Revision tags: llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1 |
|
#
4c7f500b |
| 27-Jan-2023 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Use ThreadPool feature to wait for tasks to complete
Don't use the hackier barrier I wrote using the task queue.
|
Revision tags: llvmorg-17-init |
|
#
592536a9 |
| 17-Jan-2023 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Reorganize some function locations
Move things that are naturally methods of ReducerWorkItem to be methods of ReducerWorkItem in the same source file.
|
#
33ff9d91 |
| 19-Jan-2023 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Fix typo in help text
|
#
76d3e1a4 |
| 18-Jan-2023 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Simplify async usage by avoiding lambda
Use the variadic template form to avoid naming all the parameters twice.
|
#
5bacac9c |
| 14-Jan-2023 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Use StringRef/ArrayRef
|
#
c841086c |
| 14-Jan-2023 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Add missing consts
|
Revision tags: llvmorg-15.0.7 |
|
#
1ad45278 |
| 11-Jan-2023 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
Revert "llvm-reduce: Try to kill parallel workitems once we have a result."
This reverts commit 4f575620d51032cf98424c9defafe4dfc8d66f45.
I realized the test wasn't very good and when fixed, shows
Revert "llvm-reduce: Try to kill parallel workitems once we have a result."
This reverts commit 4f575620d51032cf98424c9defafe4dfc8d66f45.
I realized the test wasn't very good and when fixed, shows the reduction doesn't work correctly. Revert the change and keep the fixed version of the test.
show more ...
|
#
4f575620 |
| 29-Nov-2022 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Try to kill parallel workitems once we have a result.
The current reduction logic tries to reproduce what a serial reduction would produce, and just takes the first one that is still in
llvm-reduce: Try to kill parallel workitems once we have a result.
The current reduction logic tries to reproduce what a serial reduction would produce, and just takes the first one that is still interesting. We still have to wait for all others to complete though, which at that point is just a waste.
This helps speed things up with long running reducers, which I frequently have. e.g. for the added sleep test on my system, it took about 8 seconds before this change and about 4 after.
https://reviews.llvm.org/D138953
show more ...
|
#
9c8b89f5 |
| 09-Dec-2022 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Refine missing argument behavior
We required the test and input arguments for --print-delta-passes which is unhelpful. Also, start printing the help output if no arguments were supplied
llvm-reduce: Refine missing argument behavior
We required the test and input arguments for --print-delta-passes which is unhelpful. Also, start printing the help output if no arguments were supplied.
It looks like there's more sophisticated ways to accomplish this with the opt library, but it was less work to manually emit these errors.
show more ...
|
#
4ecdbf2e |
| 29-Nov-2022 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Fix tsan failures
There's a data race on the UninterestingChunks set. The code seems to be operating on the assumption that all the tasks completed, so ensure the unused results do comp
llvm-reduce: Fix tsan failures
There's a data race on the UninterestingChunks set. The code seems to be operating on the assumption that all the tasks completed, so ensure the unused results do complete. This started showing up about 50% of the time when running operands-skip-parallel.ll after the recent switch to use DenseSet; previously it failed much less frequently with std::set.
We should introduce a mechanism to early terminate unused results. Alternatively, I've been thinking about ways to to make the reduction order smarter. I frequently have tests that take multiple minutes to compile and hit the failure. It may be helpful to see which chunks took the least time and prefer those over just taking the first result.
show more ...
|
#
d939eeb9 |
| 29-Nov-2022 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Add some missing consts
|
Revision tags: llvmorg-15.0.6 |
|
#
625f08da |
| 18-Nov-2022 |
Abhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com> |
[SystemZ][z/OS] Set text flag correctly for llvm-reduce tool
This patch sets the text flag correctly for llvm-reduce files
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D1383
[SystemZ][z/OS] Set text flag correctly for llvm-reduce tool
This patch sets the text flag correctly for llvm-reduce files
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D138304
show more ...
|
Revision tags: llvmorg-15.0.5, llvmorg-15.0.4 |
|
#
ea48d251 |
| 24-Oct-2022 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Minor code cleanups
|
#
89b73916 |
| 24-Oct-2022 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Use DenseSet
|
#
8ca7ed7f |
| 20-Oct-2022 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Report number of new chunks
|
#
412c4a8b |
| 29-Oct-2022 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Write bitcode temporary files for bitcode inputs
Most tools accept .ll or .bc inputs interchangably, but some don't. Default to writing temporary files that match the input. This will a
llvm-reduce: Write bitcode temporary files for bitcode inputs
Most tools accept .ll or .bc inputs interchangably, but some don't. Default to writing temporary files that match the input. This will also aid reducing deserialization bugs.
show more ...
|
#
3c436ab0 |
| 26-Oct-2022 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Support emitting bitcode for final result
Previously, this unconditionally emitted text IR. I ran into a bug that manifested in broken disassembly, so the desired output was the bitcode
llvm-reduce: Support emitting bitcode for final result
Previously, this unconditionally emitted text IR. I ran into a bug that manifested in broken disassembly, so the desired output was the bitcode format. If the input format was binary bitcode, the requested output file ends in .bc, or an explicit -output-bitcode option was used, emit bitcode.
show more ...
|
#
4cf5e22d |
| 24-Oct-2022 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Report file opening errors
This was also trying to write the bitcode to the failed file on failure, which asserts. Also, consistently use ToolOutputFile, instead of one path manually re
llvm-reduce: Report file opening errors
This was also trying to write the bitcode to the failed file on failure, which asserts. Also, consistently use ToolOutputFile, instead of one path manually removing the temp file.
show more ...
|
#
f041204e |
| 24-Oct-2022 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Stop checking workitem is interesting before each pass
Each delta pass run should have guaranteed the output is still interesting, so it should be pointless to recheck this each iterati
llvm-reduce: Stop checking workitem is interesting before each pass
Each delta pass run should have guaranteed the output is still interesting, so it should be pointless to recheck this each iteration. I have many issues that take multiple minutes to reproduce, so this ends up being a huge waste of time.
Also, remove broken line counting. This never worked, since getLines was failing to open the temporary file which was just deleted.
show more ...
|
#
11ed12f9 |
| 24-Oct-2022 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
llvm-reduce: Remove pointless template arguments
|