Skip to content

Commit d38cdae

Browse files
committed
fixup! remove unused function.
1 parent 283c9f3 commit d38cdae

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

llvm/lib/Target/RISCV/RISCVFoldMemOffset.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,6 @@ class FoldableOffset {
6767
return *this;
6868
}
6969

70-
FoldableOffset &operator-=(int64_t RHS) {
71-
if (!Offset)
72-
Offset = 0;
73-
Offset = (uint64_t)*Offset - (uint64_t)RHS;
74-
return *this;
75-
}
76-
7770
int64_t operator*() { return *Offset; }
7871
};
7972

0 commit comments

Comments
 (0)