mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-25 23:45:36 +00:00
[TableGen] Make sure EnforceSameSize populates the type sets if necessary.
This was found by another commit I'm working on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295578 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d34dcef8f
commit
8f60fb0d6f
@ -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…
x
Reference in New Issue
Block a user