Fix for buildbots which didn't like makeArrayRef with initializer lists.

llvm-svn: 327241
This commit is contained in:
Simon Pilgrim 2018-03-11 14:31:55 +00:00
parent e60afdf9eb
commit d2fbd87ce8
1 changed files with 2 additions and 2 deletions

View File

@ -5148,8 +5148,8 @@ template <typename F>
SDValue SplitBinaryOpsAndApply(SelectionDAG &DAG, const X86Subtarget &Subtarget,
const SDLoc &DL, EVT VT, SDValue Op0,
SDValue Op1, F Builder) {
return SplitOpsAndApply(DAG, Subtarget, DL, VT, makeArrayRef({Op0, Op1}),
Builder);
SDValue Ops[] = {Op0, Op1};
return SplitOpsAndApply(DAG, Subtarget, DL, VT, makeArrayRef(Ops), Builder);
}
// Return true if the instruction zeroes the unused upper part of the