Displaying 2 results from an estimated 2 matches for "f0b5cfe5".
2016 Dec 19
0
opt -instcombine interesting behavior
> %reg = alloca i32, i32 0
Allocating 0 bytes is legal but it's an undefined behavior, please refer:
http://llvm.org/docs/LangRef.html#id184
You need to correct allocation to get the desired output, i.e.:
> %reg = alloca i32, i32 1
Regards,
Ashutosh
> -----Original Message-----
> From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of
> Stephan Plöger via
2016 Dec 19
1
opt -instcombine interesting behavior
..._________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161219/f0b5cfe5/attachment.html>