-
Bug
-
Resolution: Fixed
-
P4
-
8u251, 11, 12, 13, 14, 15, 16
-
b21
CLion static analyzer highlights this oddity.
PhaseConservativeCoalesce::copy_copy calls compute_separating_interferences with [breaking the lines to make the grouping clear]:
reg_degree = compute_separating_interferences(
dst_copy, src_copy,
b, bindex,
rm,
rm_size, reg_degree, // <--- look here
lr1, lr2
);
...yet the definition is [again, breaking the lines]:
uint PhaseConservativeCoalesce::compute_separating_interferences(
Node *dst_copy, Node *src_copy,
Block *b, uint bindex,
RegMask &rm,
uint reg_degree, uint rm_size, // <--- different order
uint lr1, uint lr2
) {
PhaseConservativeCoalesce::copy_copy calls compute_separating_interferences with [breaking the lines to make the grouping clear]:
reg_degree = compute_separating_interferences(
dst_copy, src_copy,
b, bindex,
rm,
rm_size, reg_degree, // <--- look here
lr1, lr2
);
...yet the definition is [again, breaking the lines]:
uint PhaseConservativeCoalesce::compute_separating_interferences(
Node *dst_copy, Node *src_copy,
Block *b, uint bindex,
RegMask &rm,
uint reg_degree, uint rm_size, // <--- different order
uint lr1, uint lr2
) {