summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-30 07:17:30 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-30 07:17:30 +0000
commit2d2aa0ca1f786efeab2bacd52be626bd3b0d3f55 (patch)
tree988b7e0bdcb92fb8d376f19279667831129e2da6 /llvm/lib/Target/R600
parent25947c318b9d72490be3a1e4c516f8ff2d7cd180 (diff)
downloadbcm5719-llvm-2d2aa0ca1f786efeab2bacd52be626bd3b0d3f55.tar.gz
bcm5719-llvm-2d2aa0ca1f786efeab2bacd52be626bd3b0d3f55.zip
Use makeArrayRef insted of calling ArrayRef<T> constructor directly. I introduced most of these recently.
llvm-svn: 207616
Diffstat (limited to 'llvm/lib/Target/R600')
-rw-r--r--llvm/lib/Target/R600/R600ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/R600ISelLowering.cpp b/llvm/lib/Target/R600/R600ISelLowering.cpp
index c1e12c63ca1..b40cb6724d6 100644
--- a/llvm/lib/Target/R600/R600ISelLowering.cpp
+++ b/llvm/lib/Target/R600/R600ISelLowering.cpp
@@ -1280,7 +1280,7 @@ SDValue R600TargetLowering::LowerLOAD(SDValue Op, SelectionDAG &DAG) const
NumElements = VT.getVectorNumElements();
}
Result = DAG.getNode(ISD::BUILD_VECTOR, DL, NewVT,
- ArrayRef<SDValue>(Slots, NumElements));
+ makeArrayRef(Slots, NumElements));
} else {
// non-constant ptr can't be folded, keeps it as a v4f32 load
Result = DAG.getNode(AMDGPUISD::CONST_ADDRESS, DL, MVT::v4i32,
OpenPOWER on IntegriCloud