Skip to content

Commit ad43451

Browse files
committed
Regression testing support
1 parent 984ab8b commit ad43451

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ For details see [LLVM docs](https://llvm.org/docs/GettingStarted.html).
6969
TODO[khaser]: not implemented yet
7070

7171
### Running regression testing
72-
TODO[khaser]: not implemented yet
72+
Since llvm is built with tests and tools for it, run <build_dir>/bin/llvm-lit test/Transforms/SLPVectorizer to perform regression testing for SLPVectorizer test-suite
7373

7474
### Misc
7575
Original LLVM readme can be found in [./README-llvm.md](./README-llvm.md)

flake.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@
108108
"-GNinja"
109109
"-DCMAKE_BUILD_TYPE=Debug"
110110
"-DLLVM_TARGETS_TO_BUILD=RISCV"
111+
"-DLLVM_INCLUDE_UTILS=ON"
112+
"-DLLVM_INCLUDE_TESTS=ON"
113+
"-DLLVM_INCLUDE_TOOLS=ON"
111114
];
112115

113116
};

0 commit comments

Comments
 (0)