Remove an invalid assert in TargetTransformImpl
authorHal Finkel <hfinkel@anl.gov>
Tue, 30 Oct 2012 02:41:57 +0000 (02:41 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 30 Oct 2012 02:41:57 +0000 (02:41 +0000)
commitc588e0e162fa08c81558871fb0c50fb51569afe3
tree6b1d823890dcd191354283a16854dfa22eab50ea
parent8ceffeb95cca477d1faf176e95140272a28cb91c
Remove an invalid assert in TargetTransformImpl

getCastInstrCost had an assert prohibiting scalar to vector casts. Such casts,
however, are allowed. This should make the vectorizer buildbot happier.

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