llvm-project/llvm/test/tools/llvm-reduce/operands-skip-parallel.ll
David Spickett 7ce321e5b0 [llvm-reduce] Split operands-skip.ll into serial and parallel parts
This fixes a test failure when building with LLVM_ENABLE_THREADS=OFF.

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D130707
2022-08-04 08:51:47 +00:00

9 lines
690 B
LLVM

; This reuses llvm/test/tools/llvm-reduce/operands-skip.ll
; REQUIRES: thread_support
; RUN: llvm-reduce -j 2 %S/operands-skip.ll -o %t.1 --delta-passes=operands-skip --test FileCheck --test-arg %S/operands-skip.ll --test-arg --match-full-lines --test-arg --check-prefix=INTERESTING --test-arg --input-file
; RUN: FileCheck %S/operands-skip.ll --input-file %t.1 --check-prefixes=REDUCED
; RUN: llvm-reduce -j 4 %S/operands-skip.ll -o %t.2 --delta-passes=operands-skip --test FileCheck --test-arg %S/operands-skip.ll --test-arg --match-full-lines --test-arg --check-prefix=INTERESTING --test-arg --input-file
; RUN: FileCheck %S/operands-skip.ll --input-file %t.2 --check-prefixes=REDUCED