Open Quuxplusone opened 12 years ago
Attached libsyntax-eat_keyword.bc
(2508 bytes, application/octet-stream): bitcode demonstrating the problem
to exhibit the problem you must run opt with -O3
Attached libsyntax-eat_keyword_opt.bc
(2224 bytes, application/octet-stream): optimized bitcode
Attached libsyntax-eat_keyword.ll
(39234 bytes, application/octet-stream): unoptimized code in ll form
Attached libsyntax-eat_keyword_opt.ll
(36080 bytes, application/octet-stream): optimize code in ll form
libsyntax-eat_keyword.bc
(2508 bytes, application/octet-stream)libsyntax-eat_keyword_opt.bc
(2224 bytes, application/octet-stream)libsyntax-eat_keyword.ll
(39234 bytes, application/octet-stream)libsyntax-eat_keyword_opt.ll
(36080 bytes, application/octet-stream)Created attachment 8690 bitcode demonstrating the problem
I am attaching a .bc file for a single function. The unoptimized version includes this code:
which is compiled into this code:
It seems to me that the computation of %11 is incorrect. It is masking with 0x10000000000000000ffffffffffffffff but it ought to be masking with 0xffffffffffffffff.
(This is a little endian system)