1 ; This test verifies that no optimizations are performed on the @f function
2 ; when the -opt-bisect-limit=0 option is used. In particular, the X86
3 ; instruction selector will optimize the cmp instruction to a sub instruction
4 ; if it is not run in -O0 mode.
6 ; RUN: llc -O3 -opt-bisect-limit=0 -o - %s | FileCheck %s
8 target triple = "x86_64-unknown-linux-gnu"
12 %cmp = icmp slt i32 undef, 8
13 br i1 %cmp, label %middle, label %end
22 ; CHECK: cmpl $8, %eax