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
4747 clearLivenessInfo ();
4848 }
4949
50+ AllocationBasedLivenessAnalysis (const AllocationBasedLivenessAnalysis &) = delete ;
51+ AllocationBasedLivenessAnalysis & operator =(const AllocationBasedLivenessAnalysis &) = delete ;
52+
5053 bool runOnFunction (llvm::Function& F) override ;
5154 llvm::StringRef getPassName () const override
5255 {
Original file line number Diff line number Diff line change @@ -1167,7 +1167,7 @@ namespace IGC {
11671167 InstrVec BBInstructions;
11681168 for (Instruction &I : *BB)
11691169 BBInstructions.push_back (&I);
1170- OriginalPositions[BB] = BBInstructions;
1170+ OriginalPositions[BB] = std::move ( BBInstructions) ;
11711171 }
11721172
11731173 auto rerunLiveness = [&]()
You can’t perform that action at this time.
0 commit comments