[llvm-commits] [llvm] r53399 - /llvm/branches/Apple/Gaz/lib/Target/X86/X86InstrSSE.td

Bill Wendling isanbard at gmail.com
Thu Jul 10 01:28:02 PDT 2008


Author: void
Date: Thu Jul 10 03:28:01 2008
New Revision: 53399

URL: http://llvm.org/viewvc/llvm-project?rev=53399&view=rev
Log:
Pull r53386 into Gaz:

Fix for PR2472. Use movss to set lower 32-bits of a zero XMM vector.

Modified:
    llvm/branches/Apple/Gaz/lib/Target/X86/X86InstrSSE.td

Modified: llvm/branches/Apple/Gaz/lib/Target/X86/X86InstrSSE.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Gaz/lib/Target/X86/X86InstrSSE.td?rev=53399&r1=53398&r2=53399&view=diff

==============================================================================
--- llvm/branches/Apple/Gaz/lib/Target/X86/X86InstrSSE.td (original)
+++ llvm/branches/Apple/Gaz/lib/Target/X86/X86InstrSSE.td Thu Jul 10 03:28:01 2008
@@ -2870,6 +2870,8 @@
           (MOVLSS2PSrr (V_SET0), FR32:$src)>, Requires<[HasSSE2]>;
 def : Pat<(v4f32 (X86vzmovl (v4f32 VR128:$src))),
           (MOVLPSrr (V_SET0), VR128:$src)>, Requires<[HasSSE2]>;
+def : Pat<(v4i32 (X86vzmovl (v4i32 VR128:$src))),
+          (MOVLPSrr (V_SET0), VR128:$src)>, Requires<[HasSSE2]>;
 }
 
 // Splat v2f64 / v2i64





More information about the llvm-commits mailing list