[Thumb2] tighten CHECK lines in test; NFC

The sequence between the function call and the asm start
may change without affecting what this test is looking for,
but we should have a better idea about what that sequence
looks like.

llvm-svn: 370518
This commit is contained in:
Sanjay Patel 2019-08-30 20:15:01 +00:00
parent 7e9dd09db8
commit a39ef6dea6
1 changed files with 4 additions and 2 deletions

View File

@ -16,8 +16,10 @@ target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-
; Make sure the cmp is not scheduled before the InlineAsm that clobbers cc.
; CHECK: bl _f2
; CHECK: cmp {{r[0-9]+}}, #0
; CHECK-NOT: cmp
; CHECK: InlineAsm Start
; CHECK-NEXT: it eq
; CHECK-NEXT: addeq {{r[0-9]+}}, #1
; CHECK-NEXT: lsls
; CHECK-NEXT: InlineAsm Start
define void @test(%s1* %this, i32 %format, i32 %w, i32 %h, i32 %levels, i32* %s, i8* %data, i32* nocapture %rowbytes, void (i8*, i8*)* %release, i8* %info) nounwind {
entry:
%tmp1 = getelementptr inbounds %s1, %s1* %this, i32 0, i32 0, i32 0, i32 1, i32 0, i32 0