diff options
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index f904fa16d58..eb3729c813f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -361,7 +361,7 @@ static void AddNodeIDNode(FoldingSetNodeID &ID, SDNode *N) { default: break; // Normal nodes don't need extra info. case ISD::TargetConstant: case ISD::Constant: - ID.AddInteger(cast<ConstantSDNode>(N)->getValue()); + ID.Add(cast<ConstantSDNode>(N)->getAPIntValue()); break; case ISD::TargetConstantFP: case ISD::ConstantFP: { |