[LLVMdev] Help on DAG pattern matching string

Anton Korobeynikov anton at korobeynikov.info
Mon Jul 6 02:59:58 PDT 2009

Hello, Everyone

> TargetSelectoinDAG.td and then why the two versions are "identical" in
> TableGen's mind.
That's correct. The patterns are identical since the types of operands
involved are the same. DAG pattern matching is done before regalloc,
there are not regclasses actually at that point, thus both patterns
tries to select the same thing...

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the llvm-dev mailing list