commit | 19fc1d3742ccba2d8dde5d69c5593e1a0b83fefa | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Feb 20 06:28:01 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Feb 20 06:28:01 2008 +0000 |
tree | e6ab8c8900c1e0258d703e39f1cd650e59a32e3e | |
parent | 90a3868fe5702caaa56082cde2edb6521de73e01 [diff] |
Fix an incredibly subtle bug exposed by Ted's change to APInt profiling. AddNodeIDNode does profiling for a ConstantSDNode, but so does SelectionDAG::getConstant. This profiling should be moved to a common static function in ConstantSDNode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47359 91177308-0d34-0410-b5e6-96231b3b80d8