Compiler Basics: LLVM
notes.eatonphil.com
notes.eatonphil.com
I imagine doing so wouldn't have much value, as nobody programs in the IR.
It's easier to emit human-readable LLVM IR if you're just playing around (or are using a language without good LLVM bindings), but it's strictly inferior to using the actual API