File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class ReorderFunctions : public BinaryFunctionPass {
32
32
RT_EXEC_COUNT,
33
33
RT_HFSORT,
34
34
RT_HFSORT_PLUS,
35
- RT_CDS ,
35
+ RT_CDSORT ,
36
36
RT_PETTIS_HANSEN,
37
37
RT_RANDOM,
38
38
RT_USER
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ cl::opt<bolt::ReorderFunctions::ReorderType> ReorderFunctions(
42
42
" use hfsort algorithm" ),
43
43
clEnumValN(bolt::ReorderFunctions::RT_HFSORT_PLUS, " hfsort+" ,
44
44
" use hfsort+ algorithm" ),
45
- clEnumValN(bolt::ReorderFunctions::RT_CDS , " cds " ,
45
+ clEnumValN(bolt::ReorderFunctions::RT_CDSORT , " cdsort " ,
46
46
" use cache-directed sort" ),
47
47
clEnumValN(bolt::ReorderFunctions::RT_PETTIS_HANSEN,
48
48
" pettis-hansen" , " use Pettis-Hansen algorithm" ),
@@ -322,7 +322,7 @@ void ReorderFunctions::runOnFunctions(BinaryContext &BC) {
322
322
case RT_HFSORT_PLUS:
323
323
Clusters = hfsortPlus (Cg);
324
324
break ;
325
- case RT_CDS : {
325
+ case RT_CDSORT : {
326
326
// It is required that the sum of incoming arc weights is not greater
327
327
// than the number of samples for every function. Ensuring the call graph
328
328
// obeys the property before running the algorithm.
You can’t perform that action at this time.
0 commit comments