Don't produce a vmovntdq if we don't have AVX support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131330 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2011-05-14 00:30:01 +00:00
parent d25d16c901
commit a3f88148e6
2 changed files with 13 additions and 1 deletions

View File

@@ -1900,7 +1900,7 @@ let AddedComplexity = 400 in { // Prefer non-temporal versions
addr:$dst)]>, VEX;
def : Pat<(alignednontemporalstore (v2i64 VR128:$src), addr:$dst),
(VMOVNTDQmr addr:$dst, VR128:$src)>;
(VMOVNTDQmr addr:$dst, VR128:$src)>, Requires<[HasAVX]>;
def VMOVNTPSYmr : VPSI<0x2B, MRMDestMem, (outs),
(ins f256mem:$dst, VR256:$src),