> > The DAGCombiner appears to do both of these with -enable-unsafe-fp-math . > But isn't the DAGCombiner a part of the back-end? Is it possible to get llvm ir out of the DAGCombiner? Do you mean the SelectionDAG? I further process llvm ir and therefore need a "best possible" optimization on llvm ir. -Jochen