[llvm] r321814 - [X86] Regenerate test

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 10:48:42 PST 2018


Author: rksimon
Date: Thu Jan  4 10:48:42 2018
New Revision: 321814

URL: http://llvm.org/viewvc/llvm-project?rev=321814&view=rev
Log:
[X86] Regenerate test

Modified:
    llvm/trunk/test/CodeGen/X86/2006-11-17-IllegalMove.ll

Modified: llvm/trunk/test/CodeGen/X86/2006-11-17-IllegalMove.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2006-11-17-IllegalMove.ll?rev=321814&r1=321813&r2=321814&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/2006-11-17-IllegalMove.ll (original)
+++ llvm/trunk/test/CodeGen/X86/2006-11-17-IllegalMove.ll Thu Jan  4 10:48:42 2018
@@ -1,9 +1,22 @@
-; RUN: llc < %s -mtriple=x86_64-- > %t
-; RUN: grep movb %t | count 1
-; RUN: grep "movzb[wl]" %t
-
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %S
 
 define void @handle_vector_size_attribute() nounwind {
+; CHECK-LABEL: handle_vector_size_attribute:
+; CHECK:       # %bb.0: # %entry
+; CHECK-NEXT:    movl 0, %eax
+; CHECK-NEXT:    decl %eax
+; CHECK-NEXT:    cmpl $2, %eax
+; CHECK-NEXT:    jae .LBB0_2
+; CHECK-NEXT:  # %bb.1: # %cond_next129
+; CHECK-NEXT:    movb 0, %al
+; CHECK-NEXT:    movzbl %al, %eax
+; CHECK-NEXT:    # kill: def %eax killed %eax def %ax
+; CHECK-NEXT:    divb %al
+; CHECK-NEXT:    movzbl %al, %eax
+; CHECK-NEXT:    cmpq %rax, %rax
+; CHECK-NEXT:  .LBB0_2: # %bb84
+; CHECK-NEXT:    retq
 entry:
 	%tmp69 = load i32, i32* null		; <i32> [#uses=1]
 	switch i32 %tmp69, label %bb84 [




More information about the llvm-commits mailing list