aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-opt-fuzzer/simple-run.ll
blob: 8255d374a12c5abd0988b66c973f15dfbd9d8572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; 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
}