This repository was archived by the owner on Mar 28, 2020. It is now read-only.
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 {
744
744
// / and the number of execution units in the CPU.
745
745
unsigned getMaxInterleaveFactor (unsigned VF) const ;
746
746
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);
750
750
751
751
// / This is an approximation of reciprocal throughput of a math/logic op.
752
752
// / 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 {
389
389
}
390
390
391
391
TargetTransformInfo::OperandValueKind
392
- TargetTransformInfo::getOperandInfo (Value *V,
393
- OperandValueProperties &OpProps) const {
392
+ TargetTransformInfo::getOperandInfo (Value *V, OperandValueProperties &OpProps) {
394
393
OperandValueKind OpInfo = OK_AnyValue;
395
394
OpProps = OP_None;
396
395
You can’t perform that action at this time.
0 commit comments