[llvm] r232685 - Fixed failing test due to missing target triple causing different results on different buildbots.
Simon Pilgrim
llvm-dev at redking.me.uk
Wed Mar 18 15:51:45 PDT 2015
Author: rksimon
Date: Wed Mar 18 17:51:45 2015
New Revision: 232685
URL: http://llvm.org/viewvc/llvm-project?rev=232685&view=rev
Log:
Fixed failing test due to missing target triple causing different results on different buildbots.
Modified:
llvm/trunk/test/CodeGen/X86/x86-shifts.ll
Modified: llvm/trunk/test/CodeGen/X86/x86-shifts.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/x86-shifts.ll?rev=232685&r1=232684&r2=232685&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/x86-shifts.ll (original)
+++ llvm/trunk/test/CodeGen/X86/x86-shifts.ll Wed Mar 18 17:51:45 2015
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=sse2 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -mattr=+sse2 | FileCheck %s
; Splat patterns below
@@ -119,13 +119,14 @@ entry:
define <2 x i64> @shr2_nosplat(<2 x i64> %A) nounwind {
entry:
; CHECK-LABEL: shr2_nosplat
-; CHECK: movdqa %xmm1, %xmm2
+; CHECK: movdqa %xmm0, %xmm1
+; CHECK-NEXT: psrlq $1, %xmm1
+; CHECK-NEXT: movdqa %xmm0, %xmm2
; CHECK-NEXT: psrlq $8, %xmm2
-; CHECK-NEXT: movdqa %xmm1, %xmm0
-; CHECK-NEXT: psrlq $1, %xmm0
-; CHECK-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
-; CHECK-NEXT: movsd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
-; CHECK-NEXT: xorpd %xmm1, %xmm0
+; CHECK-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; CHECK-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; CHECK-NEXT: xorpd %xmm0, %xmm1
+; CHECK-NEXT: movapd %xmm1, %xmm0
; CHECK-NEXT: ret
%B = lshr <2 x i64> %A, < i64 8, i64 1>
%C = lshr <2 x i64> %A, < i64 1, i64 0>
More information about the llvm-commits
mailing list