[LLVMdev] problems with the legalizer

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Dec 13 14:08:34 PST 2006


I have hit a extreme case during a bootstrap. The DAG combiner canonicalizes

<= 65536

into

< 65537

The problem is that 65536 can de represented inline in a ARM
instruction and 65537 cannot.

I am considering changing the code that creates ARMCMP when lowering
br_cc and set_cc nodes. Does anyone has a better solution?

Best Regards,
Rafael



More information about the llvm-dev mailing list