- 
                Notifications
    You must be signed in to change notification settings 
- Fork 84
Add weak dependencies to TD3 (rebased) #1747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
  
     Merged
                    Changes from 4 commits
      Commits
    
    
            Show all changes
          
          
            14 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      737b6c0
              
                Expose demand to td3
              
              
                sim642 3ef54d6
              
                Add basic impl for weak_deps, add test
              
              
                heigotornik c7bfa1c
              
                Fix weak_deps not being solved until stable
              
              
                heigotornik 6a4dfc5
              
                Add eager option for solving wk_deps
              
              
                heigotornik 3c35d3a
              
                Fix incremental warnings in TD3 with weak deps
              
              
                sim642 322211b
              
                Refactor TD3 weak dependencies option
              
              
                sim642 7f24502
              
                Fix empty list check in TD3
              
              
                sim642 e255916
              
                Fix EqConstrSysFromGlobConstrSys not passing demand to solver
              
              
                sim642 2f617d5
              
                Add cram test for TD3 weak dependencies
              
              
                sim642 8ef0b65
              
                Clean up TD3 weak dependencies loop
              
              
                sim642 493c9a0
              
                Rename cached option in TD3 to weak_deps_handling
              
              
                sim642 d6b5436
              
                Update weak_dep comment in TD3
              
              
                sim642 712385e
              
                Make solvers.td3.weak-deps none by default
              
              
                sim642 c65fb1f
              
                Move and clean up TD3 weak dependencies test
              
              
                sim642 File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
              |         
                  sim642 marked this conversation as resolved.
              Show resolved
            Hide resolved | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| // PARAM: --set "ana.activated[+]" signs | ||
|         
                  sim642 marked this conversation as resolved.
              Outdated
          
            Show resolved
            Hide resolved | ||
| // Fully context-insensitive | ||
| #include <goblint.h> | ||
| #include <pthread.h> | ||
|  | ||
| int g = 0; | ||
| int y = 0; | ||
|  | ||
| void *t_foo(void *arg) { | ||
| if (g == 1) { | ||
| y = 1; | ||
| } | ||
|  | ||
| } | ||
|  | ||
| int main() { | ||
| int x; | ||
| int k = 1; | ||
| int l = 2; | ||
| int m = 3; | ||
| int n = 4; | ||
|  | ||
| pthread_t id; | ||
| pthread_create(&id, NULL, t_foo, NULL); | ||
| int a = 1; // should not be re-evaluated | ||
| int b = 2; // should not be re-evaluated | ||
| int c = 3; // should not be re-evaluated | ||
| int d = 4; // should not be re-evaluated | ||
| g = 1; | ||
| x = y; | ||
| int d = 4; | ||
|  | ||
| __goblint_check(y < 2); // SUCCESS | ||
| __goblint_check(y == 1); // UNKNOWN! | ||
| __goblint_check(x < 2); // SUCCESS | ||
| __goblint_check(x == 1); // UNKNOWN! | ||
| return 0; | ||
| } | ||
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.