From c5dd54154acfd222a39cbdc01e4d5202a78f268b Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 1 Aug 2007 21:42:24 +0000 Subject: [PATCH] Missing Requires. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40691 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrSSE.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]>; -- 2.34.1