[LLVMdev] string input for the integrated assembler
Tim Northover
t.p.northover at gmail.com
Wed Mar 18 06:48:47 PDT 2015
> It sounds like you're doing the expansion directly in the InstPrinter.
> Most targets using fused pseudo-instructions like this do it either in
> a separate pass (e.g. AArch64ExpandPseudoInsts.cpp) or during the
> lowering from MachineInstr to MCInst(s).
Another option that occurred is enhancing the PseudoInstExpansion
handling to cover multiple instructions. Currently it can only produce
1 output, but I don't think there's any fundamental reason it the
output couldn't be a list of instructions instead.
Cheers.
Tim.
More information about the llvm-dev
mailing list