Make it possible to use different constant
folding policies with IRBuilder.  The default,
provided by ConstantFolder, is to do minimal
folding like now: what ConstantExpr provides.
An alternative is to use TargetFolder, which
uses target information to fold constants more.

llvm-svn: 54640
3 files changed
tree: 4faa349432943a67ad3159fb18fe3b50cdaf222e
  1. clang/
  2. llvm/