diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-06 22:37:39 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-06 22:37:39 +0000 |
commit | f1f1743b2efecfc049dd54cb4d97be8761b12ca0 (patch) | |
tree | 3a5f6b46130e7da8f6d4cf6cf462ec011021c6c1 /llvm/lib/Transforms/IPO/IPConstantPropagation.cpp | |
parent | 83b5ccbecf80a824633c642928fa40696163cf9b (diff) | |
download | llvm-f1f1743b2efecfc049dd54cb4d97be8761b12ca0.zip llvm-f1f1743b2efecfc049dd54cb4d97be8761b12ca0.tar.gz llvm-f1f1743b2efecfc049dd54cb4d97be8761b12ca0.tar.bz2 |
Finish LLVMContext-ing lib/Analysis. This required pushing LLVMContext's through the ValueTracking API.
llvm-svn: 74873
Diffstat (limited to 'llvm/lib/Transforms/IPO/IPConstantPropagation.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/IPConstantPropagation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/IPConstantPropagation.cpp b/llvm/lib/Transforms/IPO/IPConstantPropagation.cpp index d3869a8..e27792a 100644 --- a/llvm/lib/Transforms/IPO/IPConstantPropagation.cpp +++ b/llvm/lib/Transforms/IPO/IPConstantPropagation.cpp @@ -183,7 +183,7 @@ bool IPCP::PropagateConstantReturn(Function &F) { if (!STy) V = RI->getOperand(i); else - V = FindInsertedValue(RI->getOperand(0), i); + V = FindInsertedValue(RI->getOperand(0), i, Context); if (V) { // Ignore undefs, we can change them into anything |