[llvm] r334257 - [AMDGPU] Simplify memory legalizer (add missing virtual descructor)
Tony Tye via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 7 18:00:11 PDT 2018
Author: t-tye
Date: Thu Jun 7 18:00:11 2018
New Revision: 334257
URL: http://llvm.org/viewvc/llvm-project?rev=334257&view=rev
Log:
[AMDGPU] Simplify memory legalizer (add missing virtual descructor)
Differential Revision: https://reviews.llvm.org/D47504
Modified:
llvm/trunk/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIMemoryLegalizer.cpp?rev=334257&r1=334256&r2=334257&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIMemoryLegalizer.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/SIMemoryLegalizer.cpp Thu Jun 7 18:00:11 2018
@@ -299,6 +299,10 @@ public:
SIMemOp Op,
bool IsCrossAddrSpaceOrdering,
Position Pos) const = 0;
+
+ /// Virtual destructor to allow derivations to be deleted.
+ virtual ~SICacheControl() = default;
+
};
class SIGfx6CacheControl : public SICacheControl {
More information about the llvm-commits
mailing list