Skip to content

Commit 7f6ba4c

Browse files
committed
Oh, whoops, forgot about RISCV
1 parent 378d0ee commit 7f6ba4c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,12 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
262262
return TLI->isLegalElementTypeForRVV(ElemType);
263263
}
264264

265-
bool isLegalMaskedLoad(Type *DataType, Align Alignment) {
265+
bool isLegalMaskedLoad(Type *DataType, Align Alignment,
266+
unsigned /*AddressSpace*/) {
266267
return isLegalMaskedLoadStore(DataType, Alignment);
267268
}
268-
bool isLegalMaskedStore(Type *DataType, Align Alignment) {
269+
bool isLegalMaskedStore(Type *DataType, Align Alignment,
270+
unsigned /*AddressSpace*/) {
269271
return isLegalMaskedLoadStore(DataType, Alignment);
270272
}
271273

0 commit comments

Comments
 (0)