Fix test typo and add usual "br %r14" test

llvm-svn: 188775
This commit is contained in:
Richard Sandiford 2013-08-20 09:14:46 +00:00
parent 96aa93d5f1
commit bdd81d76f8
1 changed files with 2 additions and 1 deletions

View File

@ -83,12 +83,13 @@ define float @f7(float %in) {
; Test that both registers in a GR128 pair get hoisted. ; Test that both registers in a GR128 pair get hoisted.
define void @f8(i32 %count) { define void @f8(i32 %count) {
; CHECK-LABE: f8 ; CHECK-LABEL: f8
; CHECK-DAG: lhi %r0, 0 ; CHECK-DAG: lhi %r0, 0
; CHECK-DAG: lhi %r1, 1 ; CHECK-DAG: lhi %r1, 1
; CHECK: %loop ; CHECK: %loop
; CHECK-NOT: %r ; CHECK-NOT: %r
; CHECK: blah %r0, %r1 ; CHECK: blah %r0, %r1
; CHECK: br %r14
entry: entry:
br label %loop br label %loop