comparison test/LTO/X86/disable-verify.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents
children 1172e4bd9c6f
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
1 ; RUN: llvm-as < %s >%t.bc
2 ; RUN: llvm-lto -debug-pass=Arguments -exported-symbol=_f -o /dev/null %t.bc 2>&1 -disable-verify | FileCheck %s
3 ; RUN: llvm-lto -debug-pass=Arguments -exported-symbol=_f -o /dev/null %t.bc 2>&1 | FileCheck %s -check-prefix=VERIFY
4
5 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
6 target triple = "x86_64-apple-macosx10.10.0"
7
8 ; -disable-verify should disable verification from the optimization pipeline.
9 ; CHECK: Pass Arguments: -verify -internalize
10 ; CHECK-NOT: -verify
11
12 ; VERIFY: Pass Arguments: -verify -internalize
13 ; VERIFY: Pass Arguments: {{.*}} -verify {{.*}} -verify
14
15 define void @f() {
16 entry:
17 ret void
18 }