| Age | Commit message (Collapse) | Author | Files | Lines |
|
Now that we have OP_UNOP & OP_UNOP_END, we can convert some long
switch cases by the shorter: case OP_UNOP ... OP_UNOP_END.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
|
|
These functions must have an entry for almost all instructions
but OP_FNEG was missing.
Fix this by adding the entry for OP_FNEG.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
|
|
This patch verify that every phi-nodes have the same number of
operands as the current BB has parents.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
|
|
PSEUDO_REGs & PSEUDO_PHIs are defined by some instructions.
This patch validate that each such pseudo have indded a valids
defining instruction.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
|
|
To be meaningful, the IR instructions and their relationships
must obey some constraints. This patch add the framework for
doing this kind of validation.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
|