[llvm] r230400 - Make this test not dependent upon the triple. All that was needed
Eric Christopher
echristo at gmail.com
Tue Feb 24 15:43:26 PST 2015
Author: echristo
Date: Tue Feb 24 17:43:26 2015
New Revision: 230400
URL: http://llvm.org/viewvc/llvm-project?rev=230400&view=rev
Log:
Make this test not dependent upon the triple. All that was needed
was some flexibility in the check line for the comment basic block.
Modified:
llvm/trunk/test/CodeGen/X86/mmx-fold-load.ll
Modified: llvm/trunk/test/CodeGen/X86/mmx-fold-load.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/mmx-fold-load.ll?rev=230400&r1=230399&r2=230400&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/mmx-fold-load.ll (original)
+++ llvm/trunk/test/CodeGen/X86/mmx-fold-load.ll Tue Feb 24 17:43:26 2015
@@ -1,8 +1,8 @@
-; RUN: llc < %s -mtriple=x86_64-darwin -mattr=+mmx,+sse2 | FileCheck %s
+; RUN: llc < %s -march=x86-64 -mattr=+mmx,+sse2 | FileCheck %s
define i64 @t0(<1 x i64>* %a, i32* %b) {
; CHECK-LABEL: t0:
-; CHECK: ## BB#0: ## %entry
+; CHECK: # BB#0:{{.*}} %entry
; CHECK-NEXT: movq (%rdi), %mm0
; CHECK-NEXT: psllq (%rsi), %mm0
; CHECK-NEXT: movd %mm0, %rax
@@ -19,7 +19,7 @@ declare x86_mmx @llvm.x86.mmx.pslli.q(x8
define i64 @t1(<1 x i64>* %a, i32* %b) {
; CHECK-LABEL: t1:
-; CHECK: ## BB#0: ## %entry
+; CHECK: # BB#0:{{.*}} %entry
; CHECK-NEXT: movq (%rdi), %mm0
; CHECK-NEXT: psrlq (%rsi), %mm0
; CHECK-NEXT: movd %mm0, %rax
@@ -36,7 +36,7 @@ declare x86_mmx @llvm.x86.mmx.psrli.q(x8
define i64 @t2(<1 x i64>* %a, i32* %b) {
; CHECK-LABEL: t2:
-; CHECK: ## BB#0: ## %entry
+; CHECK: # BB#0:{{.*}} %entry
; CHECK-NEXT: movq (%rdi), %mm0
; CHECK-NEXT: psllw (%rsi), %mm0
; CHECK-NEXT: movd %mm0, %rax
@@ -53,7 +53,7 @@ declare x86_mmx @llvm.x86.mmx.pslli.w(x8
define i64 @t3(<1 x i64>* %a, i32* %b) {
; CHECK-LABEL: t3:
-; CHECK: ## BB#0: ## %entry
+; CHECK: # BB#0:{{.*}} %entry
; CHECK-NEXT: movq (%rdi), %mm0
; CHECK-NEXT: psrlw (%rsi), %mm0
; CHECK-NEXT: movd %mm0, %rax
@@ -70,7 +70,7 @@ declare x86_mmx @llvm.x86.mmx.psrli.w(x8
define i64 @t4(<1 x i64>* %a, i32* %b) {
; CHECK-LABEL: t4:
-; CHECK: ## BB#0: ## %entry
+; CHECK: # BB#0:{{.*}} %entry
; CHECK-NEXT: movq (%rdi), %mm0
; CHECK-NEXT: pslld (%rsi), %mm0
; CHECK-NEXT: movd %mm0, %rax
@@ -87,7 +87,7 @@ declare x86_mmx @llvm.x86.mmx.pslli.d(x8
define i64 @t5(<1 x i64>* %a, i32* %b) {
; CHECK-LABEL: t5:
-; CHECK: ## BB#0: ## %entry
+; CHECK: # BB#0:{{.*}} %entry
; CHECK-NEXT: movq (%rdi), %mm0
; CHECK-NEXT: psrld (%rsi), %mm0
; CHECK-NEXT: movd %mm0, %rax
@@ -104,7 +104,7 @@ declare x86_mmx @llvm.x86.mmx.psrli.d(x8
define i64 @t6(<1 x i64>* %a, i32* %b) {
; CHECK-LABEL: t6:
-; CHECK: ## BB#0: ## %entry
+; CHECK: # BB#0:{{.*}} %entry
; CHECK-NEXT: movq (%rdi), %mm0
; CHECK-NEXT: psraw (%rsi), %mm0
; CHECK-NEXT: movd %mm0, %rax
@@ -121,7 +121,7 @@ declare x86_mmx @llvm.x86.mmx.psrai.w(x8
define i64 @t7(<1 x i64>* %a, i32* %b) {
; CHECK-LABEL: t7:
-; CHECK: ## BB#0: ## %entry
+; CHECK: # BB#0:{{.*}} %entry
; CHECK-NEXT: movq (%rdi), %mm0
; CHECK-NEXT: psrad (%rsi), %mm0
; CHECK-NEXT: movd %mm0, %rax
More information about the llvm-commits
mailing list