forked from OSchip/llvm-project
parent
1bc93bac69
commit
d58384fca6
|
@ -79,9 +79,7 @@ namespace llvm {
|
|||
unsigned NV = TLI.getNumElements(VT);
|
||||
if (NV == 1) {
|
||||
// If we are promoting this value, pick the next largest supported type.
|
||||
while (!TLI.hasNativeSupportFor(VT))
|
||||
VT = (MVT::ValueType)(VT+1);
|
||||
return MakeReg(VT);
|
||||
return MakeReg(TLI.getTypeToTransformTo(VT));
|
||||
}
|
||||
|
||||
// If this value is represented with multiple target registers, make sure
|
||||
|
|
Loading…
Reference in New Issue