DirectXShaderCompiler/test
Zhengxing li b79169bc85
[llc/opt] Add an option to run all passes twice (#6666)
This PR pulls the following upstream changes into DXC:

[llc/opt] Add an option to run all passes twice
(04464cf731)
> Lately, I have submitted a number of patches to fix bugs that only
occurred when using the same pass manager to compile
> multiple modules (generally these bugs are failure to reset some
persistent state).
> 
> Unfortunately I don't think there is currently a way to test that from
the command line. This adds a very simple flag to both
> llc and opt, under which the tools will simply re-run their respective
> pass pipelines using the same pass manager on (a clone of the same
module). Additionally, we verify that both outputs are
>   bitwise the same.
> 
>   Reviewers: yaron.keren

[opt] Fix sanitizer complaints about r254774
(38707c45be)
> `Out` can be null if no output is requested, so move any access
> to it inside the conditional. Thanks to Justin Bogner for finding
> this.

This is for the test of this change
(ef8761fd3b)
to fix #6659.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Adam Yang <31109344+adam-yang@users.noreply.github.com>
2024-06-24 15:03:08 -07:00
..
Analysis Enable `.ll` test suffix for LLVM tests (#5887) 2023-10-18 11:55:53 -05:00
Assembler Enable `.ll` test suffix for LLVM tests (#5887) 2023-10-18 11:55:53 -05:00
Bitcode DXC Tests: Filter out unsupported test, add verbose option and improve output (#5537) 2023-08-18 10:56:52 -07:00
CodeGen Enable `.ll` test suffix for LLVM tests (#5887) 2023-10-18 11:55:53 -05:00
Feature Enable `.ll` test suffix for LLVM tests (#5887) 2023-10-18 11:55:53 -05:00
FileCheck first commit 2016-12-28 11:52:27 -08:00
HLSL/passes indvars: don't replace a phi when that breaks LCSSA (#6695) 2024-06-17 20:56:16 -04:00
Instrumentation Enable `.ll` test suffix for LLVM tests (#5887) 2023-10-18 11:55:53 -05:00
Integer Disable LLVM LIT suites and tests (#4827) 2022-11-29 12:53:22 -06:00
LTO first commit 2016-12-28 11:52:27 -08:00
Linker Enable `.ll` test suffix for LLVM tests (#5887) 2023-10-18 11:55:53 -05:00
MC [llc/opt] Add an option to run all passes twice (#6666) 2024-06-24 15:03:08 -07:00
Object [llc/opt] Add an option to run all passes twice (#6666) 2024-06-24 15:03:08 -07:00
Other DXC Tests: Filter out unsupported test, add verbose option and improve output (#5537) 2023-08-18 10:56:52 -07:00
SymbolRewriter Enable `.ll` test suffix for LLVM tests (#5887) 2023-10-18 11:55:53 -05:00
TableGen Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Transforms Reassociate: add global reassociation algorithm (#6598) 2024-05-21 11:55:40 -07:00
Unit first commit 2016-12-28 11:52:27 -08:00
Verifier Update Linux build and test workflows to use lit (#4836) 2022-12-02 12:55:14 -06:00
YAMLParser Fix last LLVM tests on Windows (#4829) 2022-12-02 15:42:58 -06:00
tools Enable `.ll` test suffix for LLVM tests (#5887) 2023-10-18 11:55:53 -05:00
.clang-format first commit 2016-12-28 11:52:27 -08:00
CMakeLists.txt Enable building LLVM testing tools (#4023) 2021-10-21 11:31:31 -05:00
Makefile.tests first commit 2016-12-28 11:52:27 -08:00
TestRunner.sh first commit 2016-12-28 11:52:27 -08:00
lit.cfg Enable `.ll` test suffix for LLVM tests (#5887) 2023-10-18 11:55:53 -05:00
lit.site.cfg.in first commit 2016-12-28 11:52:27 -08:00