You have to be very, very careful when writing platform agnostic IR.
Sure but you have to care about word size, endianness, etc when writing C code too.
You would not go writing entire apps with it anyway, just a few inner loops or so.
I'd still use assembly-looking C with extensions and intrinsics for that, though.
I'm not sure I'd go hand writing IR code, though. It's pretty easy to just write C code with vector extensions, etc to produce the IR I'd be after. When I do need to write assembler code these days, it's typically to get access to some privileged instructions in kernel space. Most other instructions are available in C code via __builtin_foo_bar functions.