[PATCH] D20032: AMDGPU/R600: Use correct number of vector elements when lowering private loads
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon May 16 15:11:57 PDT 2016
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/R600ISelLowering.cpp:1680
@@ -1679,3 +1679,3 @@
EVT ElemVT = VT.getVectorElementType();
- SDValue Loads[4];
+ SmallVector<SDValue, 4> Loads(NumElemVT);
----------------
More tests is good. makeArrayRef would probably be better
Repository:
rL LLVM
http://reviews.llvm.org/D20032
More information about the llvm-commits
mailing list