benchmarks for global value numbering

Hi everyone,

I wanted to do some experiments for the LLVM GVN pass, and was
wondering what are good benchmarks for the experiment. The standard
spec benchmark is usually of large size. Are there any typical small
programs (functions) that we can try and see how different variant GVN
are different? Thanks.

There are some little programs in test-suite/SingleSource and maybe some in test-suite/MultiSource/Benchmarks. However, I don't know if any are suitable for the experiments you want to perform.

-- John T.