[LLVMdev] Canonical rules

Hranáč Jan xhrana01 at stud.fit.vutbr.cz
Tue Mar 23 04:07:14 PDT 2010


LLVM version: 2.6
Query context: Automatic generator of LLVM backends.

Query:
What are canonical rules for initial DAG (generated by LLVM)?
Are there any at all?
Example:
Commutative operations. Are operations like
X = 1 + REG
automatically transformed into
X = REG + 1
?

Because of the nature of our project, we need exact information.
Thank you very much.
JH





More information about the llvm-dev mailing list