BBVectorize: Correctly merge SubclassOptionalData
authorHal Finkel <hfinkel@anl.gov>
Wed, 28 Nov 2012 03:04:10 +0000 (03:04 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 28 Nov 2012 03:04:10 +0000 (03:04 +0000)
commit88ee6b008243a34cf43ac68aad5537a849a3c2d1
treea496b4986d57a46376fd321df6187ab9826d2863
parentc3b434b76ce9e14350a677afa9947ffdca5757c5
BBVectorize: Correctly merge SubclassOptionalData

When two instructions are combined into a vector instruction,
the resulting instruction must have the most-conservative flags.

llvm-svn: 168765
llvm/lib/Transforms/Vectorize/BBVectorize.cpp
llvm/test/Transforms/BBVectorize/simple.ll