[llvm] r200455 - Remove duplicate pattern and add predicate checks on other patterns.
Craig Topper
craig.topper at gmail.com
Wed Jan 29 22:03:19 PST 2014
Author: ctopper
Date: Thu Jan 30 00:03:19 2014
New Revision: 200455
URL: http://llvm.org/viewvc/llvm-project?rev=200455&view=rev
Log:
Remove duplicate pattern and add predicate checks on other patterns.
Modified:
llvm/trunk/lib/Target/X86/X86InstrAVX512.td
Modified: llvm/trunk/lib/Target/X86/X86InstrAVX512.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrAVX512.td?rev=200455&r1=200454&r2=200455&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrAVX512.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrAVX512.td Thu Jan 30 00:03:19 2014
@@ -90,10 +90,11 @@ def AVX512_512_SET0 : I<0, Pseudo, (outs
[(set VR512:$dst, (v16f32 immAllZerosV))]>;
}
+let Predicates = [HasAVX512] in {
def : Pat<(v8i64 immAllZerosV), (AVX512_512_SET0)>;
def : Pat<(v16i32 immAllZerosV), (AVX512_512_SET0)>;
def : Pat<(v8f64 immAllZerosV), (AVX512_512_SET0)>;
-def : Pat<(v16f32 immAllZerosV), (AVX512_512_SET0)>;
+}
//===----------------------------------------------------------------------===//
// AVX-512 - VECTOR INSERT
More information about the llvm-commits
mailing list