]> granicus.if.org Git - llvm/commitdiff
[X86] Add FeatureFastScalarShiftMasks and FeatureFastVectorShiftMasks to the ignore...
authorCraig Topper <craig.topper@intel.com>
Fri, 17 May 2019 06:40:21 +0000 (06:40 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 17 May 2019 06:40:21 +0000 (06:40 +0000)
These are tuning flags and won't cause any codegen issue if we inline a function
with a different value.

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

lib/Target/X86/X86TargetTransformInfo.h

index e9afa02e67b50c5a688a9ebf7b6455d3fcf4ad07..351a4f22060e00e89a544f5d20a4cf400bc33184 100644 (file)
@@ -54,6 +54,8 @@ class X86TTIImpl : public BasicTTIImplBase<X86TTIImpl> {
       X86::FeatureFastPartialYMMorZMMWrite,
       X86::FeatureFastScalarFSQRT,
       X86::FeatureFastSHLDRotate,
+      X86::FeatureFastScalarShiftMasks,
+      X86::FeatureFastVectorShiftMasks,
       X86::FeatureFastVariableShuffle,
       X86::FeatureFastVectorFSQRT,
       X86::FeatureLEAForSP,