commit | df0c7bc52d206782872b54a38a3374f0317ce6ff | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Wed Sep 24 07:11:26 2008 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Wed Sep 24 07:11:26 2008 +0000 |
tree | 342d3e0977e11d095441b1a2f771e827b70f1442 | |
parent | a7e6146688f4b1f0f0651af4df4994e78d438377 [diff] |
Refactor the constant folding code into it's own function. And call it from both the SelectionDAG and DAGCombiner code. The only functionality change is that now the DAG combiner is performing the constant folding for these operations instead of being a no-op. This is *not* in response to a bug, so there isn't a testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56550 91177308-0d34-0410-b5e6-96231b3b80d8