3 ms·
The big thing that you see in LLVM IR that you don't see in C is vector register support. There is also support for multiple return values, as well as some bett
by jcranmer 8y ago
The big thing that you see in LLVM IR that you don't see in C is vector register support. There is also support for multiple return values, as well as some better coverage of hardware instructions via intrinsics (e.g., fma). It is somewhat poor in support for things like exposing hardware exceptions and the condition code support, and its support for vectors, floating point, and bit sizes is definitely in the realm of supporting union of architectural possibilities instead of the intersection.
I definitely would not call LLVM IR accurate to hardware, but it is more accurate than C is.