aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorKit Barton <kbarton@ca.ibm.com>2016-07-06 18:03:52 +0000
committerKit Barton <kbarton@ca.ibm.com>2016-07-06 18:03:52 +0000
commitf9d0a40573064b1da260b6478a80c4c0962769ea (patch)
treee47c554028d7f35cf80dacb733558ec73445e9cf /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent1c3c0afc53171996c2ab66655727550198bc2f26 (diff)
downloadllvm-f9d0a40573064b1da260b6478a80c4c0962769ea.zip
llvm-f9d0a40573064b1da260b6478a80c4c0962769ea.tar.gz
llvm-f9d0a40573064b1da260b6478a80c4c0962769ea.tar.bz2
Ensure all uses of permute instructions feed vector stores
There is a problem in VSXSwapRemoval where it is incorrectly removing permute instructions. In this case, the permute is feeding both a vector store and also a non-store instruction. In this case, the permute cannot be removed. The fix is to simply look at all the uses of the vector register defined by the permute and ensure that all the uses are vector store instructions. This problem was reported in PR 27735 (https://llvm.org/bugs/show_bug.cgi?id=27735). Test case based on the original problem reported. Phabricator Review: http://reviews.llvm.org/D21802 llvm-svn: 274645
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions