1 // REQUIRES: x86-registered-target
3 // Make sure opt-bisect works through both pass managers
5 // RUN: %clang_cc1 -triple x86_64-linux-gnu -O1 %s -mllvm -opt-bisect-limit=-1 -emit-obj -o /dev/null 2>&1 | FileCheck %s
7 // CHECK: BISECT: running pass (1)
8 // CHECK-NOT: BISECT: running pass (1)
9 // Make sure that legacy pass manager is running
10 // CHECK: Instruction Selection
12 int func(int a
) { return a
; }