Fix the predicate for memop64 to be a regular load, not just
authorDan Gohman <gohman@apple.com>
Thu, 16 Oct 2008 00:03:00 +0000 (00:03 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 16 Oct 2008 00:03:00 +0000 (00:03 +0000)
an unindexed load.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57612 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrSSE.td

index 1ae9935473b270cc26cbdea05f1c010da1dc8128..0a5089d1ab126085cf934d4af97bc766f919ab9d 100644 (file)
@@ -134,7 +134,7 @@ def memopv16i8 : PatFrag<(ops node:$ptr), (v16i8 (memop node:$ptr))>;
 // 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
-def memop64 : PatFrag<(ops node:$ptr), (unindexedload node:$ptr), [{
+def memop64 : PatFrag<(ops node:$ptr), (load node:$ptr), [{
   return cast<LoadSDNode>(N)->getAlignment() >= 8;
 }]>;