summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/CodeGen/X86/2006-11-17-IllegalMove.ll21
1 files changed, 4 insertions, 17 deletions
diff --git a/llvm/test/CodeGen/X86/2006-11-17-IllegalMove.ll b/llvm/test/CodeGen/X86/2006-11-17-IllegalMove.ll
index 49e272aef9f..f110bd89a30 100644
--- a/llvm/test/CodeGen/X86/2006-11-17-IllegalMove.ll
+++ b/llvm/test/CodeGen/X86/2006-11-17-IllegalMove.ll
@@ -1,22 +1,9 @@
-; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %S
+; RUN: llc < %s -mtriple=x86_64-- > %t
+; RUN: grep movb %t | count 1
+; RUN: grep "movzb[wl]" %t
+
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 [
OpenPOWER on IntegriCloud