OSDN Git Service

[PowerPC] Don't ever expand BUILD_VECTOR of v2i64 with shuffles
authorHal Finkel <hfinkel@anl.gov>
Mon, 31 Mar 2014 17:48:16 +0000 (17:48 +0000)
committerHal Finkel <hfinkel@anl.gov>
Mon, 31 Mar 2014 17:48:16 +0000 (17:48 +0000)
commite2b375192478d8f6b20678bf79c27763a8e861b3
treeba22323b661548ea2d644d10a575f7b6528a69a9
parentadbf9764ae9bc87026f42b6a04bdb14c60920ba2
[PowerPC] Don't ever expand BUILD_VECTOR of v2i64 with shuffles

If we have two unique values for a v2i64 build vector, this will always result
in two vector loads if we expand using shuffles. Only one is necessary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205231 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h
test/CodeGen/PowerPC/vsx.ll