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

Chris Lattner clattner at apple.com
Fri Jun 7 16:49:47 PDT 2013


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 :-)

-Chris



More information about the llvm-commits mailing list