mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	throttle squash-store #7134
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									a3d00ce356
								
							
						
					
					
						commit
						79b7d8a9e2
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -206,7 +206,9 @@ br_status array_rewriter::mk_store_core(unsigned num_args, expr * const * args,
 | 
			
		|||
bool array_rewriter::squash_store(unsigned n, expr* const* args, expr_ref& result) {
 | 
			
		||||
    ptr_buffer<expr> parents, sargs;
 | 
			
		||||
    expr* a = args[0];
 | 
			
		||||
    while (m_util.is_store(a)) {
 | 
			
		||||
    unsigned rounds = 0;
 | 
			
		||||
    while (m_util.is_store(a) && rounds < 10) {
 | 
			
		||||
        ++rounds;
 | 
			
		||||
        lbool r = compare_args(n - 2, args + 1, to_app(a)->get_args() + 1);
 | 
			
		||||
        switch (r) {
 | 
			
		||||
        case l_undef:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue