view test/Other/optimize-options.ll @ 17:5e1f5bc27634

remove codeFlag for llvm type and add __CodeTy
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sat, 05 Oct 2013 22:04:18 +0900
parents 9ad51c7bc036
children
line wrap: on
line source

;RUN: opt -S -O1 -debug-pass=Arguments 2>&1 | FileCheck %s
;RUN: opt -S -O2 -debug-pass=Arguments 2>&1 | FileCheck %s
;RUN: opt -S -Os -debug-pass=Arguments 2>&1 | FileCheck %s
;RUN: opt -S -Oz -debug-pass=Arguments 2>&1 | FileCheck %s
;RUN: opt -S -O3 -debug-pass=Arguments 2>&1 | FileCheck %s

; Just check that we get a non-empty set of passes for each -O opton.
;CHECK: Pass Arguments: {{.*}} -print-module