diff --git a/llvm/test/tools/llvm-isel-fuzzer/aarch64-execname-options.ll b/llvm/test/tools/llvm-isel-fuzzer/aarch64-execname-options.ll index 32b0e80bb05f..339d7b6b8e79 100644 --- a/llvm/test/tools/llvm-isel-fuzzer/aarch64-execname-options.ll +++ b/llvm/test/tools/llvm-isel-fuzzer/aarch64-execname-options.ll @@ -7,15 +7,12 @@ ; RUN: cp llvm-isel-fuzzer %t.bin--aarch64 ; RUN: %t.bin--aarch64 %t.input 2>&1 | FileCheck -check-prefix=AARCH64 %s -; RUN: rm -f %t.bin--aarch64 ; AARCH64: Injected args: -mtriple=aarch64 ; RUN: cp llvm-isel-fuzzer %t.bin--aarch64-O1 ; RUN: %t.bin--aarch64-O1 %t.input 2>&1 | FileCheck -check-prefix=OPT-AFTER %s -; RUN: rm -f %t.bin--aarch64-O1 ; OPT-AFTER: Injected args: -mtriple=aarch64 -O1 ; RUN: cp llvm-isel-fuzzer %t.bin--O3-aarch64 ; RUN: %t.bin--O3-aarch64 %t.input 2>&1 | FileCheck -check-prefix=OPT-BEFORE %s -; RUN: rm -f %t.bin--O3-aarch64 ; OPT-BEFORE: Injected args: -O3 -mtriple=aarch64 diff --git a/llvm/test/tools/llvm-isel-fuzzer/execname-options.ll b/llvm/test/tools/llvm-isel-fuzzer/execname-options.ll index 35324cfbfce2..a825cb450cc5 100644 --- a/llvm/test/tools/llvm-isel-fuzzer/execname-options.ll +++ b/llvm/test/tools/llvm-isel-fuzzer/execname-options.ll @@ -6,17 +6,14 @@ ; RUN: cp llvm-isel-fuzzer %t.bin--gisel ; RUN: not %t.bin--gisel %t.input 2>&1 | FileCheck -check-prefix=GISEL %s -; RUN: rm -f %t.bin--gisel ; GISEL: Injected args: -global-isel -O0 ; GISEL: -mtriple must be specified ; RUN: cp llvm-isel-fuzzer %t.bin--gisel-O2 ; RUN: not %t.bin--gisel-O2 %t.input 2>&1 | FileCheck -check-prefix=GISEL-O2 %s -; RUN: rm -f %t.bin--gisel-O2 ; GISEL-O2: Injected args: -global-isel -O0 -O2 ; GISEL-O2: -mtriple must be specified ; RUN: cp llvm-isel-fuzzer %t.bin--unexist ; RUN: not %t.bin--unexist %t.input 2>&1 | FileCheck -check-prefix=NO-OPT %s -; RUN: rm -f %t.bin--unexist ; NO-OPT: Unknown option: diff --git a/llvm/test/tools/llvm-opt-fuzzer/exec-options.ll b/llvm/test/tools/llvm-opt-fuzzer/exec-options.ll index 7ccf666df9ac..569965356500 100644 --- a/llvm/test/tools/llvm-opt-fuzzer/exec-options.ll +++ b/llvm/test/tools/llvm-opt-fuzzer/exec-options.ll @@ -14,21 +14,17 @@ ; RUN: cp llvm-opt-fuzzer %t.bin-- ; RUN: not %t.bin-- %t.input 2>&1 | FileCheck -check-prefix=EMPTY %s -; RUN: rm -f %t.bin-- ; EMPTY: -mtriple must be specified ; RUN: cp llvm-opt-fuzzer %t.bin--x86_64 ; RUN: not %t.bin--x86_64 %t.input 2>&1 | FileCheck -check-prefix=PASSES %s -; RUN: rm -f %t.bin--x86_64 ; PASSES: at least one pass should be specified ; RUN: cp llvm-opt-fuzzer %t.bin--x86_64-unknown ; RUN: not %t.bin--x86_64-unknown %t.input 2>&1 | FileCheck -check-prefix=UNKNOWN %s -; RUN: rm -f %t.bin--x86_64-unknown ; UNKNOWN: Unknown option: unknown ; RUN: cp llvm-opt-fuzzer %t.bin--x86_64-instcombine ; RUN: %t.bin--x86_64-instcombine %t.input 2>&1 | FileCheck -check-prefix=CORRECT %s -; RUN: rm -f %t.bin--x86_64-instcombine ; CORRECT: Injected args: -mtriple=x86_64 -passes=instcombine ; CORRECT: Running