Skip to content

Commit 95dc8c2

Browse files
fda0igcbot
authored andcommitted
Coverity fixes & refactors
Fixes of code pointed by Coverity
1 parent 0c2c376 commit 95dc8c2

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

IGC/Compiler/CISACodeGen/CastToGASAnalysis.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,6 @@ namespace IGC
5151
return noLocalToGenericOptionEnabled;
5252
}
5353

54-
GASInfo& operator= (GASInfo&& rhs) noexcept {
55-
if (this == &rhs) {
56-
return *this;
57-
}
58-
noLocalToGenericOptionEnabled = rhs.noLocalToGenericOptionEnabled;
59-
allocatePrivateAsGlobalBuffer = rhs.allocatePrivateAsGlobalBuffer;
60-
FunctionMap = std::move(rhs.FunctionMap);
61-
return *this;
62-
}
63-
6454
private:
6555
using FunctionMapTy = llvm::DenseMap<const llvm::Function*, unsigned>;
6656
FunctionMapTy FunctionMap;

0 commit comments

Comments
 (0)