From: Evan Cheng Date: Wed, 1 Aug 2007 21:42:24 +0000 (+0000) Subject: Missing Requires. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c5dd54154acfd222a39cbdc01e4d5202a78f268b;p=oota-llvm.git Missing Requires. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40691 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td index 1bb2d8cdc3a..d004232f286 100644 --- a/lib/Target/X86/X86InstrSSE.td +++ b/lib/Target/X86/X86InstrSSE.td @@ -2618,7 +2618,7 @@ def : Pat<(store (v16i8 VR128:$src), addr:$dst), // (vextract (v4i32 bc (v4f32 s2v (f32 load $addr))), 0) -> (i32 load $addr) def : Pat<(vector_extract (bc_v4i32 (v4f32 (scalar_to_vector (loadf32 addr:$src)))), (iPTR 0)), - (MOV32rm addr:$src)>; + (MOV32rm addr:$src)>, Requires<[HasSSE2]>; def : Pat<(vector_extract (bc_v2i64 (v2f64 (scalar_to_vector (loadf64 addr:$src)))), (iPTR 0)), - (MOV64rm addr:$src)>; + (MOV64rm addr:$src)>, Requires<[HasSSE2, In64BitMode]>;