LLVM ist a mess
LLVM ist a mess
Posted Mar 17, 2024 17:49 UTC (Sun) by farnz (subscriber, #17727)In reply to: LLVM ist a mess by tialaramex
Parent article: Cranelift code generation comes to Rust
And even when they didn't assume C++, there's often been bugs that boil down to "Clang doesn't use this much, therefore it's not routinely tested and there's lot of lurking bugs"; see the fun Rust has had trying to use noalias on references, where because the matching Clang feature (the C99 restrict type qualifier) is rarely used correctly, miscompilations by LLVM traceable to noalias in LLVM IR kept blocking Rust from using it for Rust references (which definitionally can't alias each other).
