• antoyo@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    To be fair, I heard that some bugs for restrict fixed in LLVM were also fixed in GCC as a result of finding them using the LLVM codegen of rustc.

    For the 3%, this is in only one particular benchmark. Since I was curious, I compiled my test program with the LLVM codegen and disabled noalias: there’s also a 3% performance improvement.