[LLVMdev] inserting .word inline
reed kotler
rkotler at mips.com
Fri Nov 9 17:59:08 PST 2012
Is there a variant of buildmi where I can just deposit a constant inline
in the instruction stream?
I..e something like
.word 0xdeadface
I don't have time to do the constant island code for Mips 16 right now
and want to just emit:
lw rx .+4
b .+6
.word 0xdeadface
....
Later I will move the constant somewhere nearby, adjust the target of
the "lw" and delete the branch.
More information about the llvm-dev
mailing list