[LLVMdev] OperandWithDefaultOps question

Joe Matarazzo joe.matarazzo at gmail.com
Fri Feb 1 16:58:29 PST 2013


Is it possible to use this operand class in an instruction that has a
pattern defined? If so, can you write it with anything besides a
ComplexPattern in the instruction's pattern DAG, to set it to a value?
Can you refer to it at all? Or would it be added to the MachineInstr
with the default value such that you could modify it later in the
backend?

If there is a non-ComplexPattern way to write this, can you provide an example?

Thanks,
Joe



More information about the llvm-dev mailing list