mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-09 10:20:34 +00:00
Use the new TLI method to get this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19582 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -79,9 +79,7 @@ namespace llvm {
|
|||||||
unsigned NV = TLI.getNumElements(VT);
|
unsigned NV = TLI.getNumElements(VT);
|
||||||
if (NV == 1) {
|
if (NV == 1) {
|
||||||
// If we are promoting this value, pick the next largest supported type.
|
// If we are promoting this value, pick the next largest supported type.
|
||||||
while (!TLI.hasNativeSupportFor(VT))
|
return MakeReg(TLI.getTypeToTransformTo(VT));
|
||||||
VT = (MVT::ValueType)(VT+1);
|
|
||||||
return MakeReg(VT);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// If this value is represented with multiple target registers, make sure
|
// If this value is represented with multiple target registers, make sure
|
||||||
|
|||||||
Reference in New Issue
Block a user