[LLVMdev] thumb2 has divide instructions

Anton Korobeynikov anton at korobeynikov.info
Wed Dec 2 11:22:24 PST 2009


> Is this necessary?  Since the absence of the predicate causes lowering to
> expand divides, the pattern should never show up.
Just to guard codegen bugs. If anything went wrong (when predicates
will be used) then you'll get nice assertion "cannot yet select".

> Agreed.  Now how do we get this done?
Just look how ArmV7A is defined and do something similar...

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

More information about the llvm-dev mailing list