Skip to content

Commit

Permalink
[AMDGPU] Simplify memory legalizer (add missing virtual descructor)
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D47504

llvm-svn: 334257
  • Loading branch information
t-tye committed Jun 8, 2018
1 parent acf5601 commit 6db1f5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
Expand Up @@ -299,6 +299,10 @@ class SICacheControl {
SIMemOp Op,
bool IsCrossAddrSpaceOrdering,
Position Pos) const = 0;

/// Virtual destructor to allow derivations to be deleted.
virtual ~SICacheControl() = default;

};

class SIGfx6CacheControl : public SICacheControl {
Expand Down

0 comments on commit 6db1f5d

Please sign in to comment.