Home | History | Annotate | Download | only in Blackfin
      1 ; RUN: llc < %s -march=bfin
      2 
      3 ; This test tries to use a JustCC register as a data operand for MOVEcc.  It
      4 ; copies (JustCC -> DP), failing because JustCC can only be copied to D.
      5 ; 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 }
     18