In the function InstCombiner::visitExtractElementInst() removed the limitation that...
authorAnat Shemer <anat.shemer@intel.com>
Thu, 18 Apr 2013 19:56:44 +0000 (19:56 +0000)
committerAnat Shemer <anat.shemer@intel.com>
Thu, 18 Apr 2013 19:56:44 +0000 (19:56 +0000)
commit86dc3f3739eedc26f2fd1f6ade1633c1fa84bd7d
treed6fb62e5c535dbe6b5d9d104c705fc8ea7eb7dfc
parent4bfeee1302eaeb6cf8f4248e3bb4fdf31a11dce1
In the function InstCombiner::visitExtractElementInst() removed the limitation that extract is promoted over a cast only if the cast has only one use.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179786 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
test/Transforms/InstCombine/vec_extract_2elts.ll [new file with mode: 0644]