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 | bcm5719-llvm-f1f1743b2efecfc049dd54cb4d97be8761b12ca0.tar.gz bcm5719-llvm-f1f1743b2efecfc049dd54cb4d97be8761b12ca0.zip | |
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 d3869a8ee4b..e27792a098e 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 |

