forked from OSchip/llvm-project
Fix debian build after r253512.
The conversion from QuantityType to the (temporary) IntegerAlignment class was ambiguous. For now add in explicit conversion to unsigned to satisfy the clang-x86_64-debian-fast bot. I'll remove the explicit conversion when I remove the IntegerAlignment class. llvm-svn: 253519
This commit is contained in:
parent
adb4057a15
commit
eb3bc60e62
|
@ -273,13 +273,13 @@ public:
|
|||
bool IsVolatile = false) {
|
||||
return CreateMemCpy(Dest.getPointer(), Src.getPointer(), Size,
|
||||
Dest.getAlignment().getQuantity(),
|
||||
Src.getAlignment().getQuantity(), IsVolatile);
|
||||
(unsigned)Src.getAlignment().getQuantity(), IsVolatile);
|
||||
}
|
||||
llvm::CallInst *CreateMemCpy(Address Dest, Address Src, uint64_t Size,
|
||||
bool IsVolatile = false) {
|
||||
return CreateMemCpy(Dest.getPointer(), Src.getPointer(), Size,
|
||||
Dest.getAlignment().getQuantity(),
|
||||
Src.getAlignment().getQuantity(), IsVolatile);
|
||||
(unsigned)Src.getAlignment().getQuantity(), IsVolatile);
|
||||
}
|
||||
|
||||
using CGBuilderBaseTy::CreateMemMove;
|
||||
|
@ -287,7 +287,8 @@ public:
|
|||
bool IsVolatile = false) {
|
||||
return CreateMemMove(Dest.getPointer(), Src.getPointer(), Size,
|
||||
Dest.getAlignment().getQuantity(),
|
||||
Src.getAlignment().getQuantity(), IsVolatile);
|
||||
(unsigned)Src.getAlignment().getQuantity(),
|
||||
IsVolatile);
|
||||
}
|
||||
|
||||
using CGBuilderBaseTy::CreateMemSet;
|
||||
|
|
Loading…
Reference in New Issue