commit | 1d2f569c3428d70d0cf690c9adb459ad4a3ecff2 | [log] [tgz] |
---|---|---|
author | Jay Foad <jay.foad@gmail.com> | Tue Jul 19 13:32:40 2011 +0000 |
committer | Jay Foad <jay.foad@gmail.com> | Tue Jul 19 13:32:40 2011 +0000 |
tree | c1b9fd82505e2166d8915ad15a821ce06bbab312 | |
parent | c8007ab582c49bb6d165e09e6279e441af985ecf [diff] [blame] |
Use ArrayRef in ConstantFoldInstOperands and ConstantFoldCall. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135477 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/InstCombine/InstCombineSelect.cpp b/lib/Transforms/InstCombine/InstCombineSelect.cpp index eb46390..bd7f40d 100644 --- a/lib/Transforms/InstCombine/InstCombineSelect.cpp +++ b/lib/Transforms/InstCombine/InstCombineSelect.cpp
@@ -325,7 +325,7 @@ // 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;