SN Systems Tech Blog

    Understanding the performance of code using LLVM's (llvm-mca)

    ARTICLE BY: Andrea DiBiagio
    POSTED: Dec 13, 2018
    TAGS: Compiler, LLVM, LLVM Developers Meeting, Toolchain

    LLVM-mca is a LLVM based tool that uses information available in LLVM’s scheduling models to statically measure the performance of machine code in a specific CPU. The goal of this tool is not just to predict the performance of the code when run on the target, but also to help with diagnosing potential performance issues. In this talk we, will discuss how llvm-mca works and walk the audience through example uses of this tool.

    READ THE WHOLE POST