Add a DAGCombine for transforming 128->256 casts into a simple
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 22 Jul 2011 00:15:00 +0000 (00:15 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 22 Jul 2011 00:15:00 +0000 (00:15 +0000)
commit74dad551d839814cf8f6d8a8e81f2e365837d2b8
tree5444b5e5475ef884b6488d76dddb7e1225d34c50
parentd088834fb991d96b4b34aaae7ff68dc413ecec9a
Add a DAGCombine for transforming 128->256 casts into a simple
vxorps + vinsertf128 pair of instructions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135727 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx-cast.ll [new file with mode: 0644]