Changed back (relative to commit 179786) the operations executed when extract(cast...
authorAnat Shemer <anat.shemer@intel.com>
Mon, 22 Apr 2013 20:51:10 +0000 (20:51 +0000)
committerAnat Shemer <anat.shemer@intel.com>
Mon, 22 Apr 2013 20:51:10 +0000 (20:51 +0000)
commitc9090b0723bdbeba65dc6b4771ca166e4a99a9cc
treef162ca0295a30ede5ab5937ba752f39c674cb42c
parent566542c87bf215c621ca58963c9940649ed27068
Changed back (relative to commit 179786) the operations executed when extract(cast) is transformed to cast(extract). It uses the Builder class as before. In addition the result node is added to the Worklist, so all the previous extract users will become the new scalar cast users.

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