[llvm-commits] [llvm] r172534 - /llvm/trunk/test/Transforms/LoopStrengthReduce/post-inc-icmpzero.ll

Manish Verma manish.verma at arm.com
Tue Jan 15 11:45:56 PST 2013


Hi,

I thought it would be my first harmless commit to LLVM. Apparently not! :-)

I am attaching the output generated by debug and release version of ARM
native opt, and the output generated by the release version of x86 opt.

 - post-inc-icmpzero.arm.debug.ll 
 - post-inc-icmpzero.arm.opt.ll 
 - post-inc-icmpzero.x86.opt.ll

Upon diff'ing the files, you can see that post-inc-icmpzero.arm.opt.ll 
is different the other two files. 

My setup is also fairly similar to Renato's. The ARM native opt is built
using autoconf, while x86 opt is built using CMake. I don't think
this should make a difference, but I am rebuilding my x86 compiler with 
autoconf to be sure.


Manish

> -----Original Message-----
> From: Dmitri Gribenko [mailto:gribozavr at gmail.com]
> Sent: 15 January 2013 19:21
> To: Renato Golin
> Cc: Rafael EspĂ­ndola; llvm-commits at cs.uiuc.edu for LLVM; Manish Verma
> Subject: Re: [llvm-commits] [llvm] r172534 -
> /llvm/trunk/test/Transforms/LoopStrengthReduce/post-inc-icmpzero.ll
> 
> On Tue, Jan 15, 2013 at 9:16 PM, Renato Golin
> <rengolin at systemcall.org> wrote:
> > On 15 January 2013 18:55, Dmitri Gribenko <gribozavr at gmail.com>
> wrote:
> >>> Back to the issue at hand, I couldn't find any difference on the
> >>> outputs on x86_64, A9 and A15, (literally, identical outputs),
> which
> >>> shows that the issue has nothing to do with ARM and the test
> should
> >>> also be failing on other architectures as of r171697-ish.
> >>>
> >>> All outputs had:
> >>>
> >>>   %4 = sub i64 %sub.ptr.lhs.cast, %sub.ptr.rhs.cast
> >>
> >> OK, but the outputs are different *now*.
> >
> > And why I asked if it shouldn't be failing on x86 as well, but it
> seems not:
> >
> > http://lab.llvm.org:8011/builders/llvm-x86_64-ubuntu/builds/6935
> >
> > That's after r171697 and before 172534, so it *should* be failing,
> but
> > it didn't.
> >
> > Don't ask me why not. As far as I can see, it should fail on all
> > architectures. The only differences between my Intel binaries and
> my
> > ARM  ones is that I used CMake to build the Intel ones and autoconf
> on
> > ARM ones, and I'm building outside the tree, when the buildbots are
> > not.
> 
> So what is the difference between outputs on ARM and x86 right now?
> 
> Dmitri
> 
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: post-inc-icmpzero.arm.opt.ll
Type: application/octet-stream
Size: 4031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130115/b5a0bb63/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: post-inc-icmpzero.arm.debug.ll
Type: application/octet-stream
Size: 3792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130115/b5a0bb63/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: post-inc-icmpzero.x86.opt.ll
Type: application/octet-stream
Size: 3792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130115/b5a0bb63/attachment-0002.obj>


More information about the llvm-commits mailing list