]> granicus.if.org Git - llvm/commitdiff
[X86] Use 'UseAVX' in place of 'HasAVX, NoAVX512'. NFC
authorCraig Topper <craig.topper@intel.com>
Mon, 11 Mar 2019 06:01:00 +0000 (06:01 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 11 Mar 2019 06:01:00 +0000 (06:01 +0000)
They mean the same thing, but 'HasAVX, NoAVX512' only appears in this one place. Every other place uses UseAVX.

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

lib/Target/X86/X86InstrSSE.td

index f7a20aa21942a826b42f5144c0d8be391c0ff78c..783c246aadf6a2dad7b6cdd4b17cad55d2288f7e 100644 (file)
@@ -5801,7 +5801,7 @@ let Predicates = [HasAVX, NoVLX] in {
                                    VEX, VEX_L, VEX_WIG;
   }
 }
-let Predicates = [HasAVX, NoAVX512] in {
+let Predicates = [UseAVX] in {
   defm VROUND  : sse41_fp_binop_s<0x0A, 0x0B, "vround", SchedWriteFRnd.Scl,
                                   v4f32, v2f64, X86RndScales, 0>,
                                   VEX_4V, VEX_LIG, VEX_WIG;