diff options
| author | Jay Foad <jay.foad@gmail.com> | 2011-07-19 13:32:40 +0000 | 
|---|---|---|
| committer | Jay Foad <jay.foad@gmail.com> | 2011-07-19 13:32:40 +0000 | 
| commit | f4b14a2b0d0130e07944e59ac23c21578b62729e (patch) | |
| tree | 35dad24b339ecc9a4203a0704391126890c5dbe2 /llvm/lib/Transforms/InstCombine | |
| parent | f1b800998a768b05770c69c3ca53b868428b36ac (diff) | |
| download | bcm5719-llvm-f4b14a2b0d0130e07944e59ac23c21578b62729e.tar.gz bcm5719-llvm-f4b14a2b0d0130e07944e59ac23c21578b62729e.zip  | |
Use ArrayRef in ConstantFoldInstOperands and ConstantFoldCall.
llvm-svn: 135477
Diffstat (limited to 'llvm/lib/Transforms/InstCombine')
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp b/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp index eb463902d66..bd7f40d8aca 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp @@ -325,7 +325,7 @@ static Value *SimplifyWithOpReplaced(Value *V, Value *Op, Value *RepOp,      // All operands were constants, fold it.      if (ConstOps.size() == I->getNumOperands())        return ConstantFoldInstOperands(I->getOpcode(), I->getType(), -                                      ConstOps.data(), ConstOps.size(), TD); +                                      ConstOps, TD);    }    return 0;  | 

