diff options
Diffstat (limited to 'test/CodeGen/X86/commute-two-addr.ll')
-rw-r--r-- | test/CodeGen/X86/commute-two-addr.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/X86/commute-two-addr.ll b/test/CodeGen/X86/commute-two-addr.ll index ef44a3d..eb44e08 100644 --- a/test/CodeGen/X86/commute-two-addr.ll +++ b/test/CodeGen/X86/commute-two-addr.ll @@ -2,8 +2,8 @@ ; insertion of register-register copies. ; Make sure there are only 3 mov's for each testcase -; RUN: llc < %s -mtriple=i686-pc-linux-gnu | FileCheck %s -check-prefix=LINUX -; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s -check-prefix=DARWIN +; RUN: llc < %s -mtriple=i686-pc-linux-gnu -mcpu=corei7 | FileCheck %s -check-prefix=LINUX +; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7 | FileCheck %s -check-prefix=DARWIN @G = external global i32 ; <i32*> [#uses=2] @@ -11,7 +11,7 @@ declare void @ext(i32) define i32 @t1(i32 %X, i32 %Y) nounwind { -; LINUX: t1: +; LINUX-LABEL: t1: ; LINUX: movl 4(%esp), %eax ; LINUX: movl 8(%esp), %ecx ; LINUX: addl %eax, %ecx @@ -22,7 +22,7 @@ define i32 @t1(i32 %X, i32 %Y) nounwind { } define i32 @t2(i32 %X, i32 %Y) nounwind { -; LINUX: t2: +; LINUX-LABEL: t2: ; LINUX: movl 4(%esp), %eax ; LINUX: movl 8(%esp), %ecx ; LINUX: xorl %eax, %ecx @@ -37,7 +37,7 @@ define i32 @t2(i32 %X, i32 %Y) nounwind { define %0 @t3(i32 %lb, i8 zeroext %has_lb, i8 zeroext %lb_inclusive, i32 %ub, i8 zeroext %has_ub, i8 zeroext %ub_inclusive) nounwind { entry: -; DARWIN: t3: +; DARWIN-LABEL: t3: ; DARWIN: shll $16 ; DARWIN: shlq $32, %rcx ; DARWIN-NOT: leaq |