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)
commit430b9079c614cd3f45015a6516590d33742cc802
tree81f69c741eaa13b84d73d5d600e8af14b84bcc88
parent6acb53152cd2140bc1f7ec7280bf67823e564ba0
BBVectorize: Correctly merge SubclassOptionalData

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168765 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/BBVectorize.cpp
test/Transforms/BBVectorize/simple.ll