• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
7define i32 @main() {
8entry:
9	br label %loopentry
10
11loopentry:
12	%done = icmp sle i64 undef, 5
13	br i1 %done, label %loopentry, label %exit.1
14
15exit.1:
16	ret i32 0
17}
18