llvm.org GIT mirror llvm / 284e47c
[X86] Add an assert to mark more code that needs to be removed when the vector widening legalization switch is removed again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369837 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 24 days ago
1 changed file(s) with 5 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
2038920389
2039020390 // This is being called by type legalization because v2i32 is marked custom
2039120391 // for result type legalization for v2f32.
20392 if (VTOp0 == MVT::v2i32)
20393 return SDValue();
20392 if (VTOp0 == MVT::v2i32) {
20393 assert(!ExperimentalVectorWideningLegalization &&
20394 "Should only get here with promote legalization!");
20395 return SDValue();
20396 }
2039420397
2039520398 // The non-AVX512 code below works under the assumption that source and
2039620399 // destination types are the same.