Re: [PATCH] Improvements to fur_source interface class, enhanced stmt folding options.

2021-06-09 Thread Aldy Hernandez via Gcc-patches
+range_query * +fur_edge::query () +{ + return m_query; +} + + +// Instantiate a stmt based fur_source. + + +fur_stmt::fur_stmt (gimple *s, range_query *q) +{ I think you there should be one space between functions, not two. You have a few of these throughout. + m_stmt= s; Space. + +

[PATCH] Improvements to fur_source interface class, enhanced stmt folding options.

2021-06-08 Thread Andrew MacLeod via Gcc-patches
I recently introduced the fur_source class as an intermediary between the Fold_Using_Ranges (FUR) class and where to pick up any ssa_names that it needs.    The initial idea was to abstract out a set of frequently changing parameters so the client fold routines wouldn't have to change every tim