Code Monkey home page Code Monkey logo

Comments (5)

michaliskok avatar michaliskok commented on August 14, 2024

Thanks for the report.

LLVM-14 is not supported yet, so I don't know whether something breaks or there's any regression. In principle, as long as the GenMC version is the same, the running time should be comparable.

I'll try to add support for LLVM-14 in the next version (along with some new features), though this might take some time as I'll be out of office for a while. In the meantime, if you upload the .ll files produced by GenMC (via -transform-output), I might be able to guess why this happens and/or push some workaround.

Michalis

from genmc.

PavelAndrianov avatar PavelAndrianov commented on August 14, 2024

Thanks for reply!

I attached an archive with two .ll files: genmc-llvm.zip.

Pavel

from genmc.

michaliskok avatar michaliskok commented on August 14, 2024

Sorry for the delay.

I assume that GenMC did not actually terminate for LLVM 14?

In any case, the code that clang produces for the two versions is different, hence the different behavior. In LLVM 14, GenMC fails to automatically bound some loops and gets stuck into some infinite loop.

I will try to fix this soon, but in the meantime using -unroll=N should make the tool terminate.

Michalis

from genmc.

PavelAndrianov avatar PavelAndrianov commented on August 14, 2024

Thank you very much!
The option -unroll=100 helps us.

Pavel

from genmc.

michaliskok avatar michaliskok commented on August 14, 2024

It turns out that there was a bug in GenMC that is not fixed. The behavior should now be consistent across LLVM versions.

BTW, I'd recommend making BackOff in fmutex.cpp a no-op when MC_ON; having it enabled only slows down verification.

from genmc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.