diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/Thumb2/thumb2-cbnz.ll | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-cbnz.ll b/test/CodeGen/Thumb2/thumb2-cbnz.ll index 10a4985..0c7f33a 100644 --- a/test/CodeGen/Thumb2/thumb2-cbnz.ll +++ b/test/CodeGen/Thumb2/thumb2-cbnz.ll @@ -20,9 +20,10 @@ bb7: ; preds = %bb3 br i1 %a, label %bb11, label %bb9 bb9: ; preds = %bb7 -; CHECK: cmp r0, #0 -; CHECK: cmp r0, #0 -; CHECK-NEXT: cbnz +; CHECK: tst.w r0, #1 +; CHECK: tst.w r0, #1 +; CHECK: tst.w r0, #1 +; CHECK: bne %0 = tail call double @floor(double %b) nounwind readnone ; <double> [#uses=0] br label %bb11 |