Skip to content

Commit

Permalink
Use deque for TypeAnalysis worklist (rust-lang#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgymnich authored Mar 8, 2022
1 parent aee3008 commit 3a23025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enzyme/Enzyme/TypeAnalysis/TypeAnalysis.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class TypeResults {
class TypeAnalyzer : public llvm::InstVisitor<TypeAnalyzer> {
public:
/// List of value's which should be re-analyzed now with new information
llvm::SetVector<llvm::Value *> workList;
llvm::SetVector<llvm::Value *, std::deque<llvm::Value *>> workList;

const llvm::SmallPtrSet<llvm::BasicBlock *, 4> notForAnalysis;

Expand Down

0 comments on commit 3a23025

Please sign in to comment.