[llvm] r323700 - [X86] Add FeaturePOPCNTFalseDeps to skylake server CPU to match skylake client.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 13:56:48 PST 2018


Author: ctopper
Date: Mon Jan 29 13:56:48 2018
New Revision: 323700

URL: http://llvm.org/viewvc/llvm-project?rev=323700&view=rev
Log:
[X86] Add FeaturePOPCNTFalseDeps to skylake server CPU to match skylake client.

Modified:
    llvm/trunk/lib/Target/X86/X86.td
    llvm/trunk/test/CodeGen/X86/bitcnt-false-dep.ll

Modified: llvm/trunk/lib/Target/X86/X86.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86.td?rev=323700&r1=323699&r2=323700&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86.td (original)
+++ llvm/trunk/lib/Target/X86/X86.td Mon Jan 29 13:56:48 2018
@@ -775,7 +775,8 @@ def SKXFeatures : ProcessorFeatures<SKLF
 class SkylakeServerProc<string Name> : ProcModel<Name, SkylakeServerModel,
                                                  SKXFeatures.Value, [
   ProcIntelSKX,
-  FeatureHasFastGather
+  FeatureHasFastGather,
+  FeaturePOPCNTFalseDeps
 ]>;
 def : SkylakeServerProc<"skylake-avx512">;
 def : SkylakeServerProc<"skx">; // Legacy alias.

Modified: llvm/trunk/test/CodeGen/X86/bitcnt-false-dep.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/bitcnt-false-dep.ll?rev=323700&r1=323699&r2=323700&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/bitcnt-false-dep.ll (original)
+++ llvm/trunk/test/CodeGen/X86/bitcnt-false-dep.ll Mon Jan 29 13:56:48 2018
@@ -1,5 +1,6 @@
 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=haswell -mattr=+lzcnt | FileCheck %s --check-prefix=HSW
 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=skylake -mattr=+lzcnt | FileCheck %s --check-prefix=SKL
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=skx -mattr=+lzcnt | FileCheck %s --check-prefix=SKL
 
 ; This tests a fix for bugzilla 33869 https://bugs.llvm.org/show_bug.cgi?id=33869
 




More information about the llvm-commits mailing list