<---stuff deleted ----->
Basically the architecture I want to compile to (SABRE) RISC does not support a conditional branch or a select instruction. It supports explicit branches of the form.
blt %a, %b, imm // branch on less than iff %a < %b then pc = pc + imm
So there are various branch instructions like … ble, beq, bne, blt, bltu and bleu (unsigned)
Im just slightly confused as to the distinction between expand and custom, and when it becomes appropriate to use custom over expand.
I’d like some definitive advice on whether to go for expansion or custom to go further with getting instruction selection working correctly.