mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-06 03:08:43 +00:00
[TableGen] Make sure EnforceSameSize populates the type sets if necessary.
This was found by another commit I'm working on. llvm-svn: 295578
This commit is contained in:
parent
ac7a882516
commit
93ddfca815
@ -644,6 +644,12 @@ bool EEVT::TypeSet::EnforceSameSize(EEVT::TypeSet &VTOperand,
|
||||
|
||||
bool MadeChange = false;
|
||||
|
||||
if (isCompletelyUnknown())
|
||||
MadeChange = FillWithPossibleTypes(TP);
|
||||
|
||||
if (VTOperand.isCompletelyUnknown())
|
||||
MadeChange = VTOperand.FillWithPossibleTypes(TP);
|
||||
|
||||
// If we know one of the types, it forces the other type agree.
|
||||
if (isConcrete()) {
|
||||
MVT IVT = getConcrete();
|
||||
|
Loading…
Reference in New Issue
Block a user