Following up on the '[LLVMdev] Getelementptr woes' thread:
I'm happy to say that Vladimir Prus contributed a constant expression
lowering pass for instruction selectors to use. This pass makes
instruction selection both easier and less error prone.
Thanks Vladimir, and sorry for being such a butthead about it earlier on