aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar igor-laevsky <igmyrj@gmail.com>2018-01-24 22:04:24 +0300
committerGravatar Kostya Serebryany <konstantin.s.serebryany@gmail.com>2018-01-24 11:04:24 -0800
commitb834f3ecc3a017e08c6d80c1bbca7f93d3c451e7 (patch)
tree18add659ff296a14d518238311daaa942e7a6c0b
parentcc55711667f7a895d47b46beedadfffc7e088390 (diff)
[llvm][opt-fuzzer] Add early-cse pass as a new fuzzing target. (#1108)
-rw-r--r--projects/llvm/build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/projects/llvm/build.sh b/projects/llvm/build.sh
index ab5e94c9..f728c2d0 100644
--- a/projects/llvm/build.sh
+++ b/projects/llvm/build.sh
@@ -68,6 +68,7 @@ cp $OUT/llvm-isel-fuzzer $OUT/llvm-isel-fuzzer--aarch64-O2
cp $OUT/llvm-isel-fuzzer $OUT/llvm-isel-fuzzer--x86_64-O2
mv $OUT/llvm-isel-fuzzer $OUT/llvm-isel-fuzzer--aarch64-gisel
# Same for llvm-opt-fuzzer
+cp $OUT/llvm-opt-fuzzer $OUT/llvm-opt-fuzzer--x86_64-earlycse
mv $OUT/llvm-opt-fuzzer $OUT/llvm-opt-fuzzer--x86_64-instcombine
# Build corpus for the llvm-opt-fuzzer
@@ -97,3 +98,4 @@ function build_corpus {
}
build_corpus "llvm/test/Transforms/InstCombine/" "llvm-opt-fuzzer--x86_64-instcombine"
+build_corpus "llvm/test/Transforms/EarlyCSE/" "llvm-opt-fuzzer--x86_64-earlycse"