[llvm] r357445 - [X86] Autogenerate complete checks. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 1 17:54:15 PDT 2019
Author: ctopper
Date: Mon Apr 1 17:54:15 2019
New Revision: 357445
URL: http://llvm.org/viewvc/llvm-project?rev=357445&view=rev
Log:
[X86] Autogenerate complete checks. NFC
Modified:
llvm/trunk/test/CodeGen/X86/fixup-lea.ll
Modified: llvm/trunk/test/CodeGen/X86/fixup-lea.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fixup-lea.ll?rev=357445&r1=357444&r2=357445&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/fixup-lea.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fixup-lea.ll Mon Apr 1 17:54:15 2019
@@ -1,9 +1,20 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
;RUN: llc < %s -mtriple=i686-- | FileCheck %s
define void @foo(i32 inreg %dns) minsize {
+; CHECK-LABEL: foo:
+; CHECK: # %bb.0: # %entry
+; CHECK-NEXT: xorl %ecx, %ecx
+; CHECK-NEXT: decl %ecx
+; CHECK-NEXT: .LBB0_1: # %for.body
+; CHECK-NEXT: # =>This Inner Loop Header: Depth=1
+; CHECK-NEXT: movzwl %cx, %edx
+; CHECK-NEXT: decl %ecx
+; CHECK-NEXT: cmpl %eax, %edx
+; CHECK-NEXT: jl .LBB0_1
+; CHECK-NEXT: # %bb.2: # %for.end
+; CHECK-NEXT: retl
entry:
-; CHECK-LABEL: foo
-; CHECK: dec
br label %for.body
for.body:
@@ -18,9 +29,19 @@ for.end:
}
define void @bar(i32 inreg %dns) minsize {
+; CHECK-LABEL: bar:
+; CHECK: # %bb.0: # %entry
+; CHECK-NEXT: xorl %ecx, %ecx
+; CHECK-NEXT: incl %ecx
+; CHECK-NEXT: .LBB1_1: # %for.body
+; CHECK-NEXT: # =>This Inner Loop Header: Depth=1
+; CHECK-NEXT: movzwl %cx, %edx
+; CHECK-NEXT: incl %ecx
+; CHECK-NEXT: cmpl %eax, %edx
+; CHECK-NEXT: jl .LBB1_1
+; CHECK-NEXT: # %bb.2: # %for.end
+; CHECK-NEXT: retl
entry:
-; CHECK-LABEL: bar
-; CHECK: inc
br label %for.body
for.body:
More information about the llvm-commits
mailing list