diff options
author | Duncan Sands <baldrick@free.fr> | 2008-08-11 15:29:30 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-08-11 15:29:30 +0000 |
commit | 1e7f7865ebd3b47c93dc8867abe5baae0df0ebce (patch) | |
tree | 18d49936ded27b2f43e5bdbe51527e399c844e28 /lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 4630e4ddcf70d22e231a2f7f30774aecfe15c3a0 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions