[llvm] r183581 - Disallow i64 div/rem in PPC32 counter loops

Hal Finkel hfinkel at anl.gov
Fri Jun 7 17:00:10 PDT 2013


----- Original Message -----
> 
> On Jun 7, 2013, at 3:16 PM, Hal Finkel <hfinkel at anl.gov> wrote:
> 
> > Author: hfinkel
> > Date: Fri Jun  7 17:16:19 2013
> > New Revision: 183581
> > 
> > URL: http://llvm.org/viewvc/llvm-project?rev=183581&view=rev
> > Log:
> > Disallow i64 div/rem in PPC32 counter loops
> > 
> > On PPC32, [su]div,rem on i64 types are transformed into runtime
> > library
> > function calls. As a result, they are not allowed in counter-based
> > loops (the
> > counter-loops verification pass caught this error; this change
> > fixes PR16169).
> 
> This continues to be crazily fragile :-)

Yep... I still maintain that this is the worst solution, except for all of the others that have been proposed. :-)

 -Hal

> 
> -Chris
> 



More information about the llvm-commits mailing list