1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/tools/llvm-opt-fuzzer/simple-run.ll
Igor Laevsky 1025a5098b [llvm-opt-fuzzer] NFC. Add sanity tests.
llvm-svn: 318293
2017-11-15 12:36:57 +00:00

14 lines
306 B
LLVM

; 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
}