]> granicus.if.org Git - llvm/commit
SLPVectorizer: Use the type of the value loaded/stored to get the ABI alignment
authorArnold Schwaighofer <aschwaighofer@apple.com>
Thu, 7 Aug 2014 22:47:27 +0000 (22:47 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Thu, 7 Aug 2014 22:47:27 +0000 (22:47 +0000)
commit2158dec9653eb651610bd9383f38b38bf2960d7e
treefa888928997833296821ac8696b6f08150bad071
parentb93c57c0a9869455f3e48a1ff640199fd5082bfc
SLPVectorizer: Use the type of the value loaded/stored to get the ABI alignment

We were using the pointer type which is incorrect.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215162 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/SLPVectorizer.cpp
test/Transforms/SLPVectorizer/X86/align.ll