Skip to content

Commit 3a23025

Browse files
authored
Use deque for TypeAnalysis worklist (rust-lang#555)
1 parent aee3008 commit 3a23025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enzyme/Enzyme/TypeAnalysis/TypeAnalysis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class TypeResults {
187187
class TypeAnalyzer : public llvm::InstVisitor<TypeAnalyzer> {
188188
public:
189189
/// List of value's which should be re-analyzed now with new information
190-
llvm::SetVector<llvm::Value *> workList;
190+
llvm::SetVector<llvm::Value *, std::deque<llvm::Value *>> workList;
191191

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

0 commit comments

Comments
 (0)