summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LoopPass.cpp
diff options
context:
space:
mode:
authorZvi Rackover <zvi.rackover@intel.com>2017-04-03 22:05:30 +0000
committerZvi Rackover <zvi.rackover@intel.com>2017-04-03 22:05:30 +0000
commit8f460655a26fb564a15cb927382fed4b69f41c67 (patch)
treeea2ddf6dc6bede61d1c3b7e75d53749dbaae87bc /llvm/lib/Analysis/LoopPass.cpp
parent74a7fa059484465536cb4f5040da056ae4d9699b (diff)
downloadbcm5719-llvm-8f460655a26fb564a15cb927382fed4b69f41c67.tar.gz
bcm5719-llvm-8f460655a26fb564a15cb927382fed4b69f41c67.zip
InstSimplify: Add a hook for shufflevector
Summary: Add a hook for simplification of shufflevector's with the following rules: - Constant folding - NFC, as it was already being done by the default handler. - If only one of the operands is constant, constant fold the shuffle if the mask does not select elements from the variable operand - to show the hook is firing and affecting the test-cases. Reviewers: RKSimon, craig.topper, spatel, sanjoy, nlopes, majnemer Reviewed By: spatel Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D31525 llvm-svn: 299393
Diffstat (limited to 'llvm/lib/Analysis/LoopPass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud