OSDN Git Service

InstructionSimplify: Refactor foldIdentityShuffles. NFC.
authorZvi Rackover <zvi.rackover@intel.com>
Mon, 8 May 2017 15:46:58 +0000 (15:46 +0000)
committerZvi Rackover <zvi.rackover@intel.com>
Mon, 8 May 2017 15:46:58 +0000 (15:46 +0000)
commit592063190f904c125651d588240b86d047b35042
tree7fd7a5f1e912b4fe3101629aebd05f977cb702e6
parent6922382eadd150a0431bc77585fc238304fe425b
InstructionSimplify: Refactor foldIdentityShuffles. NFC.

Summary:
Minor refactoring of foldIdentityShuffles() which allows the removal of a
ConstantDataVector::get() in SimplifyShuffleVectorInstruction.

Reviewers: spatel

Reviewed By: spatel

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D32955

Conflicts:
lib/Analysis/InstructionSimplify.cpp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302433 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp