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