From 4d03ca0702a30faa2959414798184bc70e767a71 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sat, 23 Jan 2010 01:19:28 +0000 Subject: Fix tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94271 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2008-09-18-inline-asm-2.ll | 4 ++-- test/CodeGen/X86/tail-opts.ll | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/CodeGen/X86/2008-09-18-inline-asm-2.ll b/test/CodeGen/X86/2008-09-18-inline-asm-2.ll index f5bd307139..e3b6fdf511 100644 --- a/test/CodeGen/X86/2008-09-18-inline-asm-2.ll +++ b/test/CodeGen/X86/2008-09-18-inline-asm-2.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=x86 | grep "#%ebp %edi %esi 8(%edx) %eax (%ebx)" -; RUN: llc < %s -march=x86 -regalloc=local | grep "#%edi %edx %ebp 8(%ebx) %eax (%esi)" +; RUN: llc < %s -march=x86 | grep "#%ebp %esi %edi 8(%edx) %eax (%ebx)" +; RUN: llc < %s -march=x86 -regalloc=local | grep "#%edi %ebp %edx 8(%ebx) %eax (%esi)" ; The 1st, 2nd, 3rd and 5th registers above must all be different. The registers ; referenced in the 4th and 6th operands must not be the same as the 1st or 5th ; operand. There are many combinations that work; this is what llc puts out now. diff --git a/test/CodeGen/X86/tail-opts.ll b/test/CodeGen/X86/tail-opts.ll index c5dbb04a05..7b21e1bd72 100644 --- a/test/CodeGen/X86/tail-opts.ll +++ b/test/CodeGen/X86/tail-opts.ll @@ -109,15 +109,15 @@ altret: ; CHECK: dont_merge_oddly: ; CHECK-NOT: ret -; CHECK: ucomiss %xmm0, %xmm1 +; CHECK: ucomiss %xmm1, %xmm2 ; CHECK-NEXT: jbe .LBB3_3 -; CHECK-NEXT: ucomiss %xmm2, %xmm0 +; CHECK-NEXT: ucomiss %xmm0, %xmm1 ; CHECK-NEXT: ja .LBB3_4 ; CHECK-NEXT: .LBB3_2: ; CHECK-NEXT: movb $1, %al ; CHECK-NEXT: ret ; CHECK-NEXT: .LBB3_3: -; CHECK-NEXT: ucomiss %xmm2, %xmm1 +; CHECK-NEXT: ucomiss %xmm0, %xmm2 ; CHECK-NEXT: jbe .LBB3_2 ; CHECK-NEXT: .LBB3_4: ; CHECK-NEXT: xorb %al, %al -- cgit v1.2.3