Shrink ADDS, ADC, RSB, and SUBS.
[oota-llvm.git] / test / CodeGen / Blackfin / cmp64.ll
1 ; RUN: llvm-as < %s | llc -march=bfin
2
3 ; This test tries to use a JustCC register as a data operand for MOVEcc.  It
4 ; calls copyRegToReg(JustCC -> DP), failing because JustCC can only be copied to
5 ; D.  The proper solution would be to restrict the virtual register to D only.
6
7 define i32 @main() {
8 entry:
9         br label %loopentry
10
11 loopentry:
12         %done = icmp sle i64 undef, 5
13         br i1 %done, label %loopentry, label %exit.1
14
15 exit.1:
16         ret i32 0
17 }