[llvm] r306248 - [X86][SSE] Remove unused memopfsf32_128/memopfsf64_128 scalar memops

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 25 10:04:58 PDT 2017


Author: rksimon
Date: Sun Jun 25 10:04:58 2017
New Revision: 306248

URL: http://llvm.org/viewvc/llvm-project?rev=306248&view=rev
Log:
[X86][SSE] Remove unused memopfsf32_128/memopfsf64_128 scalar memops

The 'scalar' simd bitops were dropped a while ago

Modified:
    llvm/trunk/lib/Target/X86/X86InstrFragmentsSIMD.td

Modified: llvm/trunk/lib/Target/X86/X86InstrFragmentsSIMD.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrFragmentsSIMD.td?rev=306248&r1=306247&r2=306248&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrFragmentsSIMD.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrFragmentsSIMD.td Sun Jun 25 10:04:58 2017
@@ -754,16 +754,6 @@ def memopv4f32 : PatFrag<(ops node:$ptr)
 def memopv2f64 : PatFrag<(ops node:$ptr), (v2f64 (memop node:$ptr))>;
 def memopv2i64 : PatFrag<(ops node:$ptr), (v2i64 (memop node:$ptr))>;
 
-// These are needed to match a scalar memop that is used in a vector-only
-// math instruction such as the FP logical ops: andps, andnps, orps, xorps.
-// The memory operand is required to be a 128-bit load, so it must be converted
-// from a vector to a scalar.
-def memopfsf32_128 : PatFrag<(ops node:$ptr),
-  (f32 (extractelt (memopv4f32 node:$ptr), (iPTR 0)))>;
-def memopfsf64_128 : PatFrag<(ops node:$ptr),
-  (f64 (extractelt (memopv2f64 node:$ptr), (iPTR 0)))>;
-
-
 // SSSE3 uses MMX registers for some instructions. They aren't aligned on a
 // 16-byte boundary.
 // FIXME: 8 byte alignment for mmx reads is not required




More information about the llvm-commits mailing list