[llvm] r219223 - Two case switch to select optimization

Jiangning Liu liujiangning1 at gmail.com
Fri Oct 10 01:14:10 PDT 2014


Hi Marcello,

I've also just narrowed down a build time failure on a benchmark in
SpecNext, and the failure message is like,

PHINode should have one entry for each predecessor of its parent basic
block!
  %retval.0 = phi i32 [ %cond75, %if.then69 ], [ %cond, %if.then27 ], [ 0,
%entry ], [ %regclass, %if.end ], [ 0, %lor.lhs.false ], [ 0,
%land.lhs.true ], [ %regclass, %if.then39 ], [ %regclass, %if.end58 ], [
%regclass, %if.then87 ], [ %., %if.end91 ], [ %regclass, %land.lhs.true81
], [ %regclass, %if.end76 ], [ %switch.select133, %if.end58 ], [ 0,
%land.lhs.true46 ], [ 0, %if.end43 ]
fatal error: error in backend: Broken function found, compilation aborted!

Could you please revert it?

Thanks,
-Jiangning


2014-10-10 8:55 GMT+08:00 Joerg Sonnenberger <joerg at britannica.bec.de>:

> On Tue, Oct 07, 2014 at 06:16:44PM -0000, Marcello Maggioni wrote:
> > Author: mggm
> > Date: Tue Oct  7 13:16:44 2014
> > New Revision: 219223
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=219223&view=rev
> > Log:
> > Two case switch to select optimization
>
> Try to compile the attached code with -O2 and watch it crash.
>
> Joerg
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141010/c81e1d84/attachment.html>


More information about the llvm-commits mailing list