[Bug tree-optimization/82397] [8 Regression] qsort comparator non-negative on sorted output: 1 in vect_analyze_data_ref_accesses
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 4 10:49:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82397
--- Comment #3 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Is it possible to simply invoke data_ref_compare_tree always, without checking
operand_equal_p beforehand? It's possible to canonicalize commutative chains in
data_ref_compare_tree, or - even better - while generating trees in the first
place; I don't understand why the operand_equal_p checks are there, they seem
more costly than what data_ref_compare_tree does.
More information about the Gcc-bugs
mailing list