OSDN Git Service

[NFC] Format InlineFeatureIgnoreList.
authorClement Courbet <courbet@google.com>
Thu, 28 Mar 2019 13:38:58 +0000 (13:38 +0000)
committerClement Courbet <courbet@google.com>
Thu, 28 Mar 2019 13:38:58 +0000 (13:38 +0000)
To avoid more spurious clang-format changes when adding features (D59872).

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

lib/Target/X86/X86TargetTransformInfo.h

index 5dce3a7..fc9f276 100644 (file)
@@ -36,57 +36,58 @@ class X86TTIImpl : public BasicTTIImplBase<X86TTIImpl> {
   const X86TargetLowering *getTLI() const { return TLI; }
 
   const FeatureBitset InlineFeatureIgnoreList = {
-    // This indicates the CPU is 64 bit capable not that we are in 64-bit mode.
-    X86::Feature64Bit,
-
-    // These features don't have any intrinsics or ABI effect.
-    X86::FeatureNOPL,
-    X86::FeatureCMPXCHG16B,
-    X86::FeatureLAHFSAHF,
-
-    // Codegen control options.
-    X86::FeatureFast11ByteNOP,
-    X86::FeatureFast15ByteNOP,
-    X86::FeatureFastBEXTR,
-    X86::FeatureFastHorizontalOps,
-    X86::FeatureFastLZCNT,
-    X86::FeatureFastPartialYMMorZMMWrite,
-    X86::FeatureFastScalarFSQRT,
-    X86::FeatureFastSHLDRotate,
-    X86::FeatureFastVariableShuffle,
-    X86::FeatureFastVectorFSQRT,
-    X86::FeatureLEAForSP,
-    X86::FeatureLEAUsesAG,
-    X86::FeatureLZCNTFalseDeps,
-    X86::FeatureMacroFusion,
-    X86::FeatureMergeToThreeWayBranch,
-    X86::FeaturePadShortFunctions,
-    X86::FeaturePOPCNTFalseDeps,
-    X86::FeatureSSEUnalignedMem,
-    X86::FeatureSlow3OpsLEA,
-    X86::FeatureSlowDivide32,
-    X86::FeatureSlowDivide64,
-    X86::FeatureSlowIncDec,
-    X86::FeatureSlowLEA,
-    X86::FeatureSlowPMADDWD,
-    X86::FeatureSlowPMULLD,
-    X86::FeatureSlowSHLD,
-    X86::FeatureSlowTwoMemOps,
-    X86::FeatureSlowUAMem16,
-
-    // Perf-tuning flags.
-    X86::FeatureHasFastGather,
-    X86::FeatureSlowUAMem32,
-
-    // Based on whether user set the -mprefer-vector-width command line.
-    X86::FeaturePrefer256Bit,
-
-    // CPU name enums. These just follow CPU string.
-    X86::ProcIntelAtom,
-    X86::ProcIntelGLM,
-    X86::ProcIntelGLP,
-    X86::ProcIntelSLM,
-    X86::ProcIntelTRM,
+      // This indicates the CPU is 64 bit capable not that we are in 64-bit
+      // mode.
+      X86::Feature64Bit,
+
+      // These features don't have any intrinsics or ABI effect.
+      X86::FeatureNOPL,
+      X86::FeatureCMPXCHG16B,
+      X86::FeatureLAHFSAHF,
+
+      // Codegen control options.
+      X86::FeatureFast11ByteNOP,
+      X86::FeatureFast15ByteNOP,
+      X86::FeatureFastBEXTR,
+      X86::FeatureFastHorizontalOps,
+      X86::FeatureFastLZCNT,
+      X86::FeatureFastPartialYMMorZMMWrite,
+      X86::FeatureFastScalarFSQRT,
+      X86::FeatureFastSHLDRotate,
+      X86::FeatureFastVariableShuffle,
+      X86::FeatureFastVectorFSQRT,
+      X86::FeatureLEAForSP,
+      X86::FeatureLEAUsesAG,
+      X86::FeatureLZCNTFalseDeps,
+      X86::FeatureMacroFusion,
+      X86::FeatureMergeToThreeWayBranch,
+      X86::FeaturePadShortFunctions,
+      X86::FeaturePOPCNTFalseDeps,
+      X86::FeatureSSEUnalignedMem,
+      X86::FeatureSlow3OpsLEA,
+      X86::FeatureSlowDivide32,
+      X86::FeatureSlowDivide64,
+      X86::FeatureSlowIncDec,
+      X86::FeatureSlowLEA,
+      X86::FeatureSlowPMADDWD,
+      X86::FeatureSlowPMULLD,
+      X86::FeatureSlowSHLD,
+      X86::FeatureSlowTwoMemOps,
+      X86::FeatureSlowUAMem16,
+
+      // Perf-tuning flags.
+      X86::FeatureHasFastGather,
+      X86::FeatureSlowUAMem32,
+
+      // Based on whether user set the -mprefer-vector-width command line.
+      X86::FeaturePrefer256Bit,
+
+      // CPU name enums. These just follow CPU string.
+      X86::ProcIntelAtom,
+      X86::ProcIntelGLM,
+      X86::ProcIntelGLP,
+      X86::ProcIntelSLM,
+      X86::ProcIntelTRM,
   };
 
 public: