Fix a bug in the cost calculation of vector casts. Detect situations where bitcasts...
authorNadav Rotem <nrotem@apple.com>
Wed, 31 Oct 2012 20:52:26 +0000 (20:52 +0000)
committerNadav Rotem <nrotem@apple.com>
Wed, 31 Oct 2012 20:52:26 +0000 (20:52 +0000)
commit0dba9a9a26f45119a82200d1db37b734b3e1bb22
tree61fd5d2c6c9996b155713c95cb354026473216e2
parent2932284f045005bc3ed850f9c42524fadf3ae3d8
Fix a bug in the cost calculation of vector casts. Detect situations where bitcasts cost zero.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167170 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/TargetTransformImpl.cpp
test/Transforms/LoopVectorize/X86/conversion-cost.ll [new file with mode: 0644]