]> granicus.if.org Git - llvm/commitdiff
[Thumb2] tighten CHECK lines in test; NFC
authorSanjay Patel <spatel@rotateright.com>
Fri, 30 Aug 2019 20:15:01 +0000 (20:15 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 30 Aug 2019 20:15:01 +0000 (20:15 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370518 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Thumb2/2010-03-15-AsmCCClobber.ll

index de45f72c8437346217af6ecff3eccd92030853a1..ac234e824016c77cb44bdc6aed472bf0d701c87d 100644 (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