Displaying 1 result from an estimated 1 matches for "regalloc_twoaddr".
2011 Dec 12
0
[LLVMdev] Pattern-matching a MOV instruction
...c1, RegisterClass:$src2)), which is just strange - and
is obviously not correct - for a start, it only has two operands.
How should I be pattern matching this sort of instruction? Will I have to
look into doing something with the TwoAddressInstructionPass? (
http://llvm.org/docs/CodeGenerator.html#regAlloc_twoAddr). I believe a few
of the backends have 2-operand moves, but I do not understand them at all;
X86 for example seems to match them just against the DAG pattern [], which
is... confusing, to say the least.
Any help much appreciated,
Stephen
-------------- next part --------------
An HTML attachment w...