File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -744,9 +744,9 @@ class TargetTransformInfo {
744744 // / and the number of execution units in the CPU.
745745 unsigned getMaxInterleaveFactor (unsigned VF) const ;
746746
747- // / Collect properties of V used in cost analyzis , e.g. OP_PowerOf2.
748- OperandValueKind getOperandInfo (Value *V,
749- OperandValueProperties &OpProps) const ;
747+ // / Collect properties of V used in cost analysis , e.g. OP_PowerOf2.
748+ static OperandValueKind getOperandInfo (Value *V,
749+ OperandValueProperties &OpProps);
750750
751751 // / This is an approximation of reciprocal throughput of a math/logic op.
752752 // / A higher cost indicates less expected throughput.
Original file line number Diff line number Diff line change @@ -389,8 +389,7 @@ unsigned TargetTransformInfo::getMaxInterleaveFactor(unsigned VF) const {
389389}
390390
391391TargetTransformInfo::OperandValueKind
392- TargetTransformInfo::getOperandInfo (Value *V,
393- OperandValueProperties &OpProps) const {
392+ TargetTransformInfo::getOperandInfo (Value *V, OperandValueProperties &OpProps) {
394393 OperandValueKind OpInfo = OK_AnyValue;
395394 OpProps = OP_None;
396395
You can’t perform that action at this time.
0 commit comments