arcana-lab / noelle

NOELLE Offers Empowering LLVM Extensions
MIT License
72 stars 34 forks source link

Regression test case for RAW dependency between two call instructions #26

Closed bgodala closed 3 years ago

bgodala commented 3 years ago

Adding a test cases which would test for RAW dependency inserted between two call instructions in a tight loop within the same basic block. In case the dependency is not inserted then two calls are treated as loop invariants and moved out of loop. This would result in wrong output for the parallelized version of code.