File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ namespace IGC
47
47
clearLivenessInfo ();
48
48
}
49
49
50
+ AllocationBasedLivenessAnalysis (const AllocationBasedLivenessAnalysis &) = delete ;
51
+ AllocationBasedLivenessAnalysis & operator =(const AllocationBasedLivenessAnalysis &) = delete ;
52
+
50
53
bool runOnFunction (llvm::Function& F) override ;
51
54
llvm::StringRef getPassName () const override
52
55
{
Original file line number Diff line number Diff line change @@ -1167,7 +1167,7 @@ namespace IGC {
1167
1167
InstrVec BBInstructions;
1168
1168
for (Instruction &I : *BB)
1169
1169
BBInstructions.push_back (&I);
1170
- OriginalPositions[BB] = BBInstructions;
1170
+ OriginalPositions[BB] = std::move ( BBInstructions) ;
1171
1171
}
1172
1172
1173
1173
auto rerunLiveness = [&]()
You can’t perform that action at this time.
0 commit comments