llvm-for-llvmta/test/tools/llvm-opt-fuzzer/simple-run.ll

14 lines
306 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; Check that fuzzer will succeed on a trivial input
; REQUIRES: x86-registered-target
; Temporary bitcode file
; RUN: opt -o %t %s
; RUN: llvm-opt-fuzzer %t -ignore_remaining_args=1 -mtriple x86_64 -passes instcombine 2>&1 | FileCheck %s
; CHECK: Running
define i32 @test(i32 %n) {
entry:
ret i32 0
}