[llvm] r321868 - [X86] Regenerate illegal move test
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 5 06:24:03 PST 2018
Author: rksimon
Date: Fri Jan 5 06:24:03 2018
New Revision: 321868
URL: http://llvm.org/viewvc/llvm-project?rev=321868&view=rev
Log:
[X86] Regenerate illegal move test
Recommitting after fixing case-sensitive issue in the RUN command
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=321868&r1=321867&r2=321868&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/2006-11-17-IllegalMove.ll (original)
+++ llvm/trunk/test/CodeGen/X86/2006-11-17-IllegalMove.ll Fri Jan 5 06:24:03 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