Skip to content
Commit 7c31464a authored by Bill Wendling's avatar Bill Wendling
Browse files

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.

llvm-svn: 56550
parent 25dd4a2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment