1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

A better fix for my previous patch, MOVZQI2PQIrr just requires SSE2.

llvm-svn: 49986
This commit is contained in:
Chris Lattner 2008-04-20 05:52:46 +00:00
parent 8503e2d236
commit 2c5b96fbee
2 changed files with 3 additions and 3 deletions

View File

@ -2312,7 +2312,7 @@ def : Pat<(v2f64 (vector_shuffle immAllZerosV_bc,
(v2f64 (scalar_to_vector
(f64 (bitconvert GR64:$src)))),
MOVL_shuffle_mask)),
(MOVZQI2PQIrr GR64:$src)>, Requires<[HasSSE3]>;
(MOVZQI2PQIrr GR64:$src)>, Requires<[HasSSE2]>;
let AddedComplexity = 20 in {

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+sse3 | grep {movd.*%rdi, %xmm0}
; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+sse3 | not grep xor
; RUN: llvm-as < %s | llc -march=x86-64 | grep {movd.*%rdi, %xmm0}
; RUN: llvm-as < %s | llc -march=x86-64 | not grep xor
; PR2108
define <2 x i64> @doload64(i64 %x) nounwind {