[llvm] r370518 - [Thumb2] tighten CHECK lines in test; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 30 13:15:02 PDT 2019


Author: spatel
Date: Fri Aug 30 13:15:01 2019
New Revision: 370518

URL: http://llvm.org/viewvc/llvm-project?rev=370518&view=rev
Log:
[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.

Modified:
    llvm/trunk/test/CodeGen/Thumb2/2010-03-15-AsmCCClobber.ll

Modified: llvm/trunk/test/CodeGen/Thumb2/2010-03-15-AsmCCClobber.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb2/2010-03-15-AsmCCClobber.ll?rev=370518&r1=370517&r2=370518&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Thumb2/2010-03-15-AsmCCClobber.ll (original)
+++ llvm/trunk/test/CodeGen/Thumb2/2010-03-15-AsmCCClobber.ll Fri Aug 30 13:15:01 2019
@@ -16,8 +16,10 @@ target datalayout = "e-p:32:32:32-i1:8:3
 ; 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




More information about the llvm-commits mailing list