justinfargnoli wrote: Instead of porting the DAG combine to instruction selection, why don't we move the symbol to a register before using it in the add? i.e. ``` add symbol 5 --> mov r1 symbol add r1 5 ... ``` https://github.com/llvm/llvm-project/pull/119935