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