diff options
author | Zvi Rackover <zvi.rackover@intel.com> | 2017-04-03 22:05:30 +0000 |
---|---|---|
committer | Zvi Rackover <zvi.rackover@intel.com> | 2017-04-03 22:05:30 +0000 |
commit | 07d42b869da0605423262c7ad67bf9e966575f10 (patch) | |
tree | 40225561653f52c15a40864e29596f3ba1e2dda4 /docs/ProgrammersManual.rst | |
parent | c4d3801c208156364d3ce314927c6275b06fc9be (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299393 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ProgrammersManual.rst')
0 files changed, 0 insertions, 0 deletions