I have IR at https://ghostbin.com/paste/daxv5 which is meant to exit 1, but it is always exiting 0.
I'm using it as a template for checking if two functions @test1 and @test2 are equivalent by checking against the exhaustive possible i16 values. For this particular example it should be enough to know that for certain i16, @test1 and @test2 are *not* equal. When an inequality is found, the program should exit 1. However, it seems like it's always exiting 0. Is there something I'm doing wrong?
- CL
_______________________________________________ LLVM Developers mailing list llvm...@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-- John Criswell Assistant Professor Department of Computer Science, University of Rochester http://www.cs.rochester.edu/u/criswell
On May 4, 2016, at 6:00 PM, Carlos Liam <car...@aarzee.me> wrote:Shouldn't that not happen when I run with -O0?
- CL