Skip to content
Commit 725021cb authored by Alkis Evlogimenos's avatar Alkis Evlogimenos
Browse files

Add TwoAddressInstructionPass to handle instructions that have two or

more operands and the two first operands are constrained to be the
same. The pass takes an instruction of the form:

        a = b op c

and transforms it into:

        a = b
        a = a op c

and also preserves live variables.

llvm-svn: 10512
parent 4d872194
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment