[llvm-commits] Fold() function on TargetFolder class - removal of redundant constantexpr

Duncan Sands baldrick at free.fr
Tue Mar 1 02:29:30 PST 2011


Hi Nick,

> Okay, I follow you now. I just committed a fix to llvm to make the NoFolder work
> with the IRBuilder again, and I'm doing a build of llvm-gcc with the NoFolder now.

it would be nice if this (folding vs no folding) could be controlled with a
runtime flag.  If it was I would probably add it permanently to dragonegg.
Unfortunately the way IRBuilder is declared to take the folder as a template
parameter makes this hard.  Any ideas for how to achieve this?

Ciao, Duncan.



More information about the llvm-commits mailing list