[SystemZ] Improve buildVector() in SystemZISelLowering.cpp.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 29 May 2017 13:22:23 +0000 (13:22 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 29 May 2017 13:22:23 +0000 (13:22 +0000)
commitfe0c0935c81cd3136045ccaee57cadbbc0dd2595
tree4974b7ee2993c13a381eb55c7cefbeb48911950b
parented0c2f7e9090a9baf5f738d1210a1ebe04023594
[SystemZ]  Improve buildVector() in SystemZISelLowering.cpp.

Use VLREP when inserting one or more loads into a vector. This is more
efficient than to first load and then use a VLVGP.

Review: Ulrich Weigand
llvm-svn: 304152
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp