[all-commits] [llvm/llvm-project] 1a75d8: [X86] Move getGatherOverhead/getScatterOverhead in...
topperc via All-commits
all-commits at lists.llvm.org
Sun Jul 26 10:57:34 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1a75d88b3eb4e0cc5494281f24f362ece3d4aa4a
https://github.com/llvm/llvm-project/commit/1a75d88b3eb4e0cc5494281f24f362ece3d4aa4a
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-07-26 (Sun, 26 Jul 2020)
Changed paths:
M llvm/lib/Target/X86/X86Subtarget.cpp
M llvm/lib/Target/X86/X86Subtarget.h
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.h
Log Message:
-----------
[X86] Move getGatherOverhead/getScatterOverhead into X86TargetTransformInfo.
These cost methods don't make much sense in X86Subtarget. Make
them methods in X86's TTI and move the feature checks from the
X86Subtarget constructor into these methods.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D84594
More information about the All-commits
mailing list