mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[X86] Add an assert to mark more code that needs to be removed when the vector widening legalization switch is removed again.
llvm-svn: 369837
This commit is contained in:
parent
88c42edd9b
commit
3bfb3b1878
@ -20390,8 +20390,11 @@ static SDValue LowerVSETCC(SDValue Op, const X86Subtarget &Subtarget,
|
||||
|
||||
// This is being called by type legalization because v2i32 is marked custom
|
||||
// for result type legalization for v2f32.
|
||||
if (VTOp0 == MVT::v2i32)
|
||||
if (VTOp0 == MVT::v2i32) {
|
||||
assert(!ExperimentalVectorWideningLegalization &&
|
||||
"Should only get here with promote legalization!");
|
||||
return SDValue();
|
||||
}
|
||||
|
||||
// The non-AVX512 code below works under the assumption that source and
|
||||
// destination types are the same.
|
||||
|
Loading…
Reference in New Issue
Block a user