Displaying 2 results from an estimated 2 matches for "cpu2000int".
2013 May 06
3
[LLVMdev] Do we abuse the "nsw" flag
Hi, There:
Clang fails to compile 254.gap @ CPU2000int suite. The symptom is
that executable fail to run
with reference input.
The root cause is that the compiler mistakenly optimizes expr "x * y
/ y" into x where the x*y is blindly
flagged with nsw without any analysis.
The preproceeded code is excerpted bellow:
cat -n integer...
2013 May 06
0
[LLVMdev] Do we abuse the "nsw" flag
...to work around the problem:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110131/115969.html
Are you compiling without -fwrapv?
Cameron
On May 6, 2013, at 4:55 PM, Shuxin Yang <shuxin.llvm at gmail.com> wrote:
> Hi, There:
>
> Clang fails to compile 254.gap @ CPU2000int suite. The symptom is that executable fail to run
> with reference input.
>
> The root cause is that the compiler mistakenly optimizes expr "x * y / y" into x where the x*y is blindly
> flagged with nsw without any analysis.
>
> The preproceeded code is excerpted...