Handle the situation where CodeGenPrepare removes a reference to a BB that has
[oota-llvm.git] / test / CodeGen / ARM / tail-opts.ll
index 3dc77e2a8086c5ececba6ae36dad9f92f0ae916a..220b0f17373981ccaf7b3fbf55000481ab06ca1c 100644 (file)
@@ -16,11 +16,11 @@ declare i8* @choose(i8*, i8*)
 
 ; CHECK: tail_duplicate_me:
 ; CHECK:      qux
-; CHECK:      qux
 ; CHECK:      movw r{{[0-9]+}}, :lower16:_GHJK
 ; CHECK:      movt r{{[0-9]+}}, :upper16:_GHJK
 ; CHECK:      str r
 ; CHECK-NEXT: bx r
+; CHECK:      qux
 ; CHECK:      movw r{{[0-9]+}}, :lower16:_GHJK
 ; CHECK:      movt r{{[0-9]+}}, :upper16:_GHJK
 ; CHECK:      str r