[PATCH] Minor cleanups

2014-04-15 Thread Richard Biener
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2014-04-15 Richard Biener * tree.c (iterative_hash_expr): Use enum tree_code_class to store TREE_CODE_CLASS. (tree_block): Likewise. (tree_set_block): Likewise. * tree.h (fold_build

[PATCH] Minor cleanups / PR63155

2018-10-08 Thread Richard Biener
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2018-10-08 Richard Biener PR tree-optimization/63155 * tree-ssa-propagate.c (add_ssa_edge): Do cheap check first. (ssa_propagation_engine::ssa_propagate): Remove redundant bitmap bit clear

[PATCH] Minor cleanups to forward threader.

2021-09-19 Thread Aldy Hernandez via Gcc-patches
Every time we allocate a threading edge we push it onto the path in a distinct step. There's no need to do this in two steps, and avoiding this, keeps us from exposing the internals of the registry. I've also did some tiny cleanups in thread_across_edge, most importantly removing the bitmap in fa

[PATCH] Minor cleanups to backward threader.

2021-10-14 Thread Aldy Hernandez via Gcc-patches
I will commit this as obvious pending tests on x86-64 Linux. gcc/ChangeLog: * tree-ssa-threadbackward.c (class back_threader): Make m_imports an auto_bitmap. (back_threader::~back_threader): Do not release m_path. --- gcc/tree-ssa-threadbackward.c | 5 + 1 file change

Re: [PATCH] Minor cleanups to forward threader.

2021-09-19 Thread Jeff Law via Gcc-patches
On 9/19/2021 9:37 AM, Aldy Hernandez wrote: Every time we allocate a threading edge we push it onto the path in a distinct step. There's no need to do this in two steps, and avoiding this, keeps us from exposing the internals of the registry. I've also did some tiny cleanups in thread_across