[llvm] r327241 - Fix for buildbots which didn't like makeArrayRef with initializer lists.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 11 07:31:55 PDT 2018
Author: rksimon
Date: Sun Mar 11 07:31:55 2018
New Revision: 327241
URL: http://llvm.org/viewvc/llvm-project?rev=327241&view=rev
Log:
Fix for buildbots which didn't like makeArrayRef with initializer lists.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=327241&r1=327240&r2=327241&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sun Mar 11 07:31:55 2018
@@ -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
More information about the llvm-commits
mailing list