[llvm] r355808 - [X86] Use 'UseAVX' in place of 'HasAVX, NoAVX512'. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 10 23:01:01 PDT 2019


Author: ctopper
Date: Sun Mar 10 23:01:00 2019
New Revision: 355808

URL: http://llvm.org/viewvc/llvm-project?rev=355808&view=rev
Log:
[X86] Use 'UseAVX' in place of 'HasAVX, NoAVX512'. NFC

They mean the same thing, but 'HasAVX, NoAVX512' only appears in this one place. Every other place uses UseAVX.

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

Modified: llvm/trunk/lib/Target/X86/X86InstrSSE.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrSSE.td?rev=355808&r1=355807&r2=355808&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrSSE.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrSSE.td Sun Mar 10 23:01:00 2019
@@ -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;




More information about the llvm-commits mailing list